summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_comment.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-03-02 19:10:20 +0500
committerCorey Hulen <corey@hulen.com>2017-03-02 09:10:20 -0500
commit1bd3917e3e6ace6d7f0bb45723a158a011e5c71a (patch)
tree50dc3320658b00582132d926933b8071bb40509a /webapp/components/rhs_comment.jsx
parentf4aebed220667f0022bc902420c62d9841835e80 (diff)
downloadchat-1bd3917e3e6ace6d7f0bb45723a158a011e5c71a.tar.gz
chat-1bd3917e3e6ace6d7f0bb45723a158a011e5c71a.tar.bz2
chat-1bd3917e3e6ace6d7f0bb45723a158a011e5c71a.zip
Ui improvements (#5588)
* PLT-5354 - Making statistics flow on page * PLT-5262 - Updating icon on join team page * PLT-5218 - Making menu colors consistent on mobile * PLT-5377 - Adding bg to current posts in the RHS * PLT-5645 - Adjusting spacing after/before ul/ol
Diffstat (limited to 'webapp/components/rhs_comment.jsx')
-rw-r--r--webapp/components/rhs_comment.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index 67fd394b9..cb527d850 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -286,7 +286,7 @@ export default class RhsComment extends React.Component {
const isSystemMessage = PostUtils.isSystemMessage(post);
var currentUserCss = '';
- if (this.props.currentUser === post.user_id) {
+ if (this.props.currentUser.id === post.user_id) {
currentUserCss = 'current--user';
}