diff --git a/webapp/components/post_view/components/post_header.jsx b/webapp/components/post_view/components/post_header.jsx index 6c356126d0..27715e5f5c 100644 --- a/webapp/components/post_view/components/post_header.jsx +++ b/webapp/components/post_view/components/post_header.jsx @@ -18,6 +18,7 @@ export default class PostHeader extends React.Component { render() { const post = this.props.post; + const isSystemMessage = PostUtils.isSystemMessage(post); let userProfile = ( {Constants.BOT_NAME}; - } else if (PostUtils.isSystemMessage(post)) { + } else if (isSystemMessage) { userProfile = (