PLT-4004 fixing javascript error when switching teams (#3877)

This commit is contained in:
Corey Hulen
2016-08-25 08:56:16 -04:00
committed by Harrison Healey
parent 839f1ad444
commit b49a019cec
@@ -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';
}