From 5b239adfb82fd65b9346253337dd73259a724807 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 7 Feb 2017 14:58:25 +0000 Subject: [PATCH] Fix bug with home icon not appearing when logged in as team member --- src/components/structures/BottomLeftMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/structures/BottomLeftMenu.js b/src/components/structures/BottomLeftMenu.js index 668ca5462b..ffb867fe5b 100644 --- a/src/components/structures/BottomLeftMenu.js +++ b/src/components/structures/BottomLeftMenu.js @@ -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