From 99fc4b0988e941242732feff428468c6df69fe50 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 28 Jun 2017 06:44:02 +0100 Subject: PLT-6900: Hide DotMenu container when DotMenu empty. (#6770) --- webapp/components/post_view/post_info/post_info.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components') diff --git a/webapp/components/post_view/post_info/post_info.jsx b/webapp/components/post_view/post_info/post_info.jsx index f037bf03b..c07a58bc7 100644 --- a/webapp/components/post_view/post_info/post_info.jsx +++ b/webapp/components/post_view/post_info/post_info.jsx @@ -192,7 +192,7 @@ export default class PostInfo extends React.PureComponent { /> ); - if (dotMenu) { + if (PostUtils.shouldShowDotMenu(this.props.post)) { options = (