forked from matrix/element-web
Make groups a fully-fleged baked-in feature
This commit is contained in:
parent
0630d856f8
commit
277a6dee10
|
@ -170,9 +170,6 @@ module.exports = React.createClass({
|
||||||
const GroupsButton = sdk.getComponent('elements.GroupsButton');
|
const GroupsButton = sdk.getComponent('elements.GroupsButton');
|
||||||
const SettingsButton = sdk.getComponent('elements.SettingsButton');
|
const SettingsButton = sdk.getComponent('elements.SettingsButton');
|
||||||
|
|
||||||
const groupsButton = UserSettingsStore.isFeatureEnabled('feature_groups') ?
|
|
||||||
<GroupsButton tooltip={true} /> : null;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_BottomLeftMenu">
|
<div className="mx_BottomLeftMenu">
|
||||||
<div className="mx_BottomLeftMenu_options">
|
<div className="mx_BottomLeftMenu_options">
|
||||||
|
@ -186,12 +183,12 @@ module.exports = React.createClass({
|
||||||
<div ref={this._collectCreateRoomButton}>
|
<div ref={this._collectCreateRoomButton}>
|
||||||
<CreateRoomButton tooltip={true} />
|
<CreateRoomButton tooltip={true} />
|
||||||
</div>
|
</div>
|
||||||
{ groupsButton }
|
<GroupsButton tooltip={true} />
|
||||||
<span className="mx_BottomLeftMenu_settings">
|
<span className="mx_BottomLeftMenu_settings">
|
||||||
<SettingsButton tooltip={true} />
|
<SettingsButton tooltip={true} />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue