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