From f740698dbe06816921d2a20eea876c9ca7b515ed Mon Sep 17 00:00:00 2001 From: David Meza Date: Mon, 31 Jul 2017 07:24:13 -0500 Subject: PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked (#6349) * PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked * PLT-6486 Display `@username` mention on the right text area on center or RHS. * Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors. * Control undefined post in SearchStore that causes an exception. --- webapp/components/post_view/post/post.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/components/post_view/post/post.jsx') diff --git a/webapp/components/post_view/post/post.jsx b/webapp/components/post_view/post/post.jsx index 4491d888c..25d23c690 100644 --- a/webapp/components/post_view/post/post.jsx +++ b/webapp/components/post_view/post/post.jsx @@ -210,6 +210,7 @@ export default class Post extends React.PureComponent { status={status} user={this.props.user} isBusy={this.props.isBusy} + hasMention={true} /> ); -- cgit v1.2.3-1-g7c22