Merge pull request #3162 from vector-im/luke/rts-fix-blm-team-token

Fix bug with home icon not appearing when logged in as team member
This commit is contained in:
David Baker 2017-02-08 09:54:33 +00:00 committed by GitHub
commit 85e6057598

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