Always show HomeButton
This commit is contained in:
parent
b25e6eb2a9
commit
aa357ff6de
|
@ -169,15 +169,10 @@ module.exports = React.createClass({
|
||||||
const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton');
|
const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton');
|
||||||
const SettingsButton = sdk.getComponent('elements.SettingsButton');
|
const SettingsButton = sdk.getComponent('elements.SettingsButton');
|
||||||
|
|
||||||
var homeButton;
|
|
||||||
if (this.props.teamToken) {
|
|
||||||
homeButton = <HomeButton tooltip={true} />;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_BottomLeftMenu">
|
<div className="mx_BottomLeftMenu">
|
||||||
<div className="mx_BottomLeftMenu_options">
|
<div className="mx_BottomLeftMenu_options">
|
||||||
{ homeButton }
|
<HomeButton tooltip={true} />
|
||||||
<div ref={this._collectPeopleButton}>
|
<div ref={this._collectPeopleButton}>
|
||||||
<StartChatButton tooltip={true} />
|
<StartChatButton tooltip={true} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue