summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_header.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-02-03 07:36:04 -0500
committerJoram Wilander <jwawilander@gmail.com>2016-02-03 07:36:04 -0500
commit5be7d002300afcf1e06cf9878d81f567b4bd9845 (patch)
tree6d5bad6d216762c05a6d1d246fdf77cd1fed7fe9 /web/react/components/post_header.jsx
parentb7b61c0adc323c3a5129bb90f914551899a0e1f1 (diff)
parent92816619cc584c7c172c4e4fdde17624cf7f913f (diff)
downloadchat-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.jsx7
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
};