Always show HomeButton

This commit is contained in:
Luke Barnard 2017-05-26 10:33:48 +01:00
parent b25e6eb2a9
commit aa357ff6de
1 changed files with 1 additions and 6 deletions

View File

@ -169,15 +169,10 @@ module.exports = React.createClass({
const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton');
const SettingsButton = sdk.getComponent('elements.SettingsButton');
var homeButton;
if (this.props.teamToken) {
homeButton = <HomeButton tooltip={true} />;
}
return (
<div className="mx_BottomLeftMenu">
<div className="mx_BottomLeftMenu_options">
{ homeButton }
<HomeButton tooltip={true} />
<div ref={this._collectPeopleButton}>
<StartChatButton tooltip={true} />
</div>