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
1 changed files with 3 additions and 1 deletions

View File

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