summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_root_post.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_root_post.jsx')
-rw-r--r--webapp/components/rhs_root_post.jsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/webapp/components/rhs_root_post.jsx b/webapp/components/rhs_root_post.jsx
index 27446c85a..b8aeeed2d 100644
--- a/webapp/components/rhs_root_post.jsx
+++ b/webapp/components/rhs_root_post.jsx
@@ -302,12 +302,19 @@ export default class RhsRootPost extends React.Component {
}
let compactClass = '';
- let profilePicContainer = (<div className='post__img'>{profilePic}</div>);
if (this.props.compactDisplay) {
compactClass = 'post--compact';
- profilePicContainer = '';
+
+ profilePic = (
+ <ProfilePicture
+ src=''
+ status={this.props.status}
+ user={this.props.user}
+ />
+ );
}
+ const profilePicContainer = (<div className='post__img'>{profilePic}</div>);
const messageWrapper = <PostMessageContainer post={post}/>;
let flag;