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

Этот коммит содержится в:
Corey Hulen
2016-08-25 04:56:16 -08:00
коммит произвёл Harrison Healey
родитель 839f1ad444
Коммит 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';
}