diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-02-03 07:36:04 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-02-03 07:36:04 -0500 |
commit | 5be7d002300afcf1e06cf9878d81f567b4bd9845 (patch) | |
tree | 6d5bad6d216762c05a6d1d246fdf77cd1fed7fe9 /web/react/components/post_header.jsx | |
parent | b7b61c0adc323c3a5129bb90f914551899a0e1f1 (diff) | |
parent | 92816619cc584c7c172c4e4fdde17624cf7f913f (diff) | |
download | chat-5be7d002300afcf1e06cf9878d81f567b4bd9845.tar.gz chat-5be7d002300afcf1e06cf9878d81f567b4bd9845.tar.bz2 chat-5be7d002300afcf1e06cf9878d81f567b4bd9845.zip |
Merge pull request #2048 from rgarmsen2295/plt-1317
PLT-1317 Replaces the clock icon for same user posts with a simple timestamp
Diffstat (limited to 'web/react/components/post_header.jsx')
-rw-r--r-- | web/react/components/post_header.jsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/react/components/post_header.jsx b/web/react/components/post_header.jsx index f18024343..037b48096 100644 --- a/web/react/components/post_header.jsx +++ b/web/react/components/post_header.jsx @@ -52,6 +52,7 @@ export default class PostHeader extends React.Component { handleCommentClick={this.props.handleCommentClick} allowReply='true' isLastComment={this.props.isLastComment} + sameUser={this.props.sameUser} /> </li> </ul> @@ -62,11 +63,13 @@ export default class PostHeader extends React.Component { PostHeader.defaultProps = { post: null, commentCount: 0, - isLastComment: false + isLastComment: false, + sameUser: false }; PostHeader.propTypes = { post: React.PropTypes.object, commentCount: React.PropTypes.number, isLastComment: React.PropTypes.bool, - handleCommentClick: React.PropTypes.func + handleCommentClick: React.PropTypes.func, + sameUser: React.PropTypes.bool }; |