diff --git a/src/components/structures/BottomLeftMenu.js b/src/components/structures/BottomLeftMenu.js index 5557e74b..3271d5ae 100644 --- a/src/components/structures/BottomLeftMenu.js +++ b/src/components/structures/BottomLeftMenu.js @@ -168,6 +168,10 @@ module.exports = React.createClass({ const RoomDirectoryButton = sdk.getComponent('elements.RoomDirectoryButton'); const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton'); const SettingsButton = sdk.getComponent('elements.SettingsButton'); + const GroupsButton = sdk.getComponent('elements.GroupsButton'); + + const groupsButton = SettingsStore.getValue("TagPanel.disableTagPanel") ? + : null; return (
@@ -182,6 +186,7 @@ module.exports = React.createClass({
+ { groupsButton } diff --git a/src/components/structures/LeftPanel.js b/src/components/structures/LeftPanel.js index 7f59db7d..83fbfc48 100644 --- a/src/components/structures/LeftPanel.js +++ b/src/components/structures/LeftPanel.js @@ -194,7 +194,9 @@ var LeftPanel = React.createClass({ } ); - const tagPanelEnabled = SettingsStore.isFeatureEnabled("feature_tag_panel"); + const tagPanelEnabled = + SettingsStore.isFeatureEnabled("feature_tag_panel") && + !SettingsStore.getValue("TagPanel.disableTagPanel"); const tagPanel = tagPanelEnabled ? :
; const containerClasses = classNames(