mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-30 22:55:29 +08:00
PLT-4004 fixing javascript error when switching teams (#3877)
This commit is contained in:
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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user