Adding message to comment node actions.

pull/722/head
Dessalines 2020-01-22 21:09:17 -05:00
parent 253bc3e0af
commit 316be483de
1 changed files with 10 additions and 0 deletions

View File

@ -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