Fix bug with home icon not appearing when logged in as team member

pull/3162/head
Luke Barnard 2017-02-07 14:58:25 +00:00
parent 2f54034afe
commit 5b239adfb8
1 changed files with 3 additions and 1 deletions

View File

@ -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