summaryrefslogtreecommitdiffstats
path: root/web/react/components/posts_view.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-24 08:10:55 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-24 08:10:55 -0500
commit940b706ac8a790db9f089e000489d89426915fc9 (patch)
tree87ef0bccd65578d1867a6a330ae38a87910fd54a /web/react/components/posts_view.jsx
parent52767d9dcdc84fca4cd7a5b5c7ece2650691b91d (diff)
parentab72afdeabf0f93bc0bb9e4e9a124114b6baaac1 (diff)
downloadchat-940b706ac8a790db9f089e000489d89426915fc9.tar.gz
chat-940b706ac8a790db9f089e000489d89426915fc9.tar.bz2
chat-940b706ac8a790db9f089e000489d89426915fc9.zip
Merge pull request #2239 from mattermost/rhs-fix
Fix profiles issue with RHS
Diffstat (limited to 'web/react/components/posts_view.jsx')
-rw-r--r--web/react/components/posts_view.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/posts_view.jsx b/web/react/components/posts_view.jsx
index 3a84b51f0..1ea7711ea 100644
--- a/web/react/components/posts_view.jsx
+++ b/web/react/components/posts_view.jsx
@@ -145,7 +145,7 @@ export default class PostsView extends React.Component {
const postCtls = [];
let previousPostDay = new Date(0);
const userId = UserStore.getCurrentId();
- const profiles = this.props.profiles;
+ const profiles = this.props.profiles || {};
let renderedLastViewed = false;