summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/components/post.jsx')
-rw-r--r--webapp/components/post_view/components/post.jsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx
index 913c2af95..fba4ce9eb 100644
--- a/webapp/components/post_view/components/post.jsx
+++ b/webapp/components/post_view/components/post.jsx
@@ -204,9 +204,7 @@ export default class Post extends React.Component {
src={PostUtils.getProfilePicSrcForPost(post, timestamp)}
/>
);
- }
-
- if (PostUtils.isSystemMessage(post)) {
+ } else if (PostUtils.isSystemMessage(post)) {
profilePic = (
<span
className='icon'