Fix bug with home icon not appearing when logged in as team member
This commit is contained in:
parent
2f54034afe
commit
5b239adfb8
|
@ -41,7 +41,9 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
componentWillMount: function() {
|
||||
this.teamToken = window.localStorage.getItem('mx_team_token');
|
||||
this.setState({
|
||||
teamToken: window.localStorage.getItem('mx_team_token'),
|
||||
});
|
||||
},
|
||||
|
||||
// Room events
|
||||
|
|
Loading…
Reference in New Issue