diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-22 21:09:17 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-22 21:09:17 -0500 |
commit | 316be483de55603eb46ddee6b5d6e7b2245995ee (patch) | |
tree | c39353abf8ee7ab8d73d8328c6e9975a04a1a5c5 /ui/src | |
parent | 253bc3e0afb6adf64b79f334a8bc1f972aa45eba (diff) |
Adding message to comment node actions.
Diffstat (limited to 'ui/src')
-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 |