diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-22 21:20:38 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-22 21:20:38 -0500 |
commit | 66af9623d90aadd47c9cf37faeac4f60f1d818d4 (patch) | |
tree | ca282098fb88b6155986a3cedd8e469690f214c1 /ui | |
parent | 0d2b4e6f18b1212f95914b3371a42a0f4d699d34 (diff) | |
parent | 316be483de55603eb46ddee6b5d6e7b2245995ee (diff) |
Merge branch 'private_messaging' into dev
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/comment-node.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index baaf63e9..046fc88d 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -293,6 +293,16 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { </li> </> )} + {!this.myComment && ( + <li className="list-inline-item"> + <Link + class="text-muted" + to={`/create_private_message?recipient_id=${node.comment.creator_id}`} + > + {i18n.t('message').toLowerCase()} + </Link> + </li> + )} <li className="list-inline-item">•</li> <li className="list-inline-item"> <span |