diff options
author | Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com> | 2016-05-16 17:06:26 +0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-16 08:06:26 -0400 |
commit | 0258fcfa5c8da92351371169b66ce30462a34853 (patch) | |
tree | d69803cff43a633202b877738e514867f4424e0c /webapp/components/post_info.jsx | |
parent | 565b111234f5566da632533109e1b4f4044e7116 (diff) | |
download | chat-0258fcfa5c8da92351371169b66ce30462a34853.tar.gz chat-0258fcfa5c8da92351371169b66ce30462a34853.tar.bz2 chat-0258fcfa5c8da92351371169b66ce30462a34853.zip |
Adding compact layout (#2991)
* Adding compact layout
* Fixing ESLint error
Diffstat (limited to 'webapp/components/post_info.jsx')
-rw-r--r-- | webapp/components/post_info.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/post_info.jsx b/webapp/components/post_info.jsx index 50b03c0be..f86c63fd7 100644 --- a/webapp/components/post_info.jsx +++ b/webapp/components/post_info.jsx @@ -219,6 +219,7 @@ export default class PostInfo extends React.Component { <TimeSince eventTime={post.create_at} sameUser={this.props.sameUser} + compactDisplay={this.props.compactDisplay} /> </li> <li className='col col__reply'> @@ -250,5 +251,6 @@ PostInfo.propTypes = { allowReply: React.PropTypes.string.isRequired, handleCommentClick: React.PropTypes.func.isRequired, sameUser: React.PropTypes.bool.isRequired, - currentUser: React.PropTypes.object.isRequired + currentUser: React.PropTypes.object.isRequired, + compactDisplay: React.PropTypes.bool }; |