diff options
author | Corey Hulen <corey@hulen.com> | 2016-08-25 04:56:16 -0800 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-08-25 08:56:16 -0400 |
commit | b49a019cec73e387cc224fbd67b20ec1292bb5bd (patch) | |
tree | 87ddcbda30621bf56ca0d66210bdac70121d0ed5 /webapp/components/post_view | |
parent | 839f1ad444849db1dd18c9da0c3b7380b355a047 (diff) | |
download | chat-b49a019cec73e387cc224fbd67b20ec1292bb5bd.tar.gz chat-b49a019cec73e387cc224fbd67b20ec1292bb5bd.tar.bz2 chat-b49a019cec73e387cc224fbd67b20ec1292bb5bd.zip |
PLT-4004 fixing javascript error when switching teams (#3877)
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r-- | webapp/components/post_view/components/post_list.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_list.jsx b/webapp/components/post_view/components/post_list.jsx index a1fd7a317..fc532c373 100644 --- a/webapp/components/post_view/components/post_list.jsx +++ b/webapp/components/post_view/components/post_list.jsx @@ -290,7 +290,7 @@ export default class PostList extends React.Component { } let status = ''; - if (this.props.statuses) { + if (this.props.statuses && profile) { status = this.props.statuses[profile.id] || 'offline'; } |