Skip to content

Commit

Permalink
Merge pull request #3162 from vector-im/luke/rts-fix-blm-team-token
Browse files Browse the repository at this point in the history
Fix bug with home icon not appearing when logged in as team member
  • Loading branch information
dbkr authored Feb 8, 2017
2 parents b080e57 + 5b239ad commit 85e6057
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/structures/BottomLeftMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85e6057

Please sign in to comment.