mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Fix bug with home icon not appearing when logged in as team member
This commit is contained in:
parent
2f54034afe
commit
5b239adfb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user