File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,10 @@ module.exports = React.createClass({
168168 const RoomDirectoryButton = sdk . getComponent ( 'elements.RoomDirectoryButton' ) ;
169169 const CreateRoomButton = sdk . getComponent ( 'elements.CreateRoomButton' ) ;
170170 const SettingsButton = sdk . getComponent ( 'elements.SettingsButton' ) ;
171+ const GroupsButton = sdk . getComponent ( 'elements.GroupsButton' ) ;
172+
173+ const groupsButton = SettingsStore . getValue ( "TagPanel.disableTagPanel" ) ?
174+ < GroupsButton tooltip = { true } /> : null ;
171175
172176 return (
173177 < div className = "mx_BottomLeftMenu" >
@@ -182,6 +186,7 @@ module.exports = React.createClass({
182186 < div ref = { this . _collectCreateRoomButton } >
183187 < CreateRoomButton tooltip = { true } />
184188 </ div >
189+ { groupsButton }
185190 < span className = "mx_BottomLeftMenu_settings" >
186191 < SettingsButton tooltip = { true } />
187192 </ span >
Original file line number Diff line number Diff line change @@ -194,7 +194,9 @@ var LeftPanel = React.createClass({
194194 }
195195 ) ;
196196
197- const tagPanelEnabled = SettingsStore . isFeatureEnabled ( "feature_tag_panel" ) ;
197+ const tagPanelEnabled =
198+ SettingsStore . isFeatureEnabled ( "feature_tag_panel" ) &&
199+ ! SettingsStore . getValue ( "TagPanel.disableTagPanel" ) ;
198200 const tagPanel = tagPanelEnabled ? < TagPanel /> : < div /> ;
199201
200202 const containerClasses = classNames (
Original file line number Diff line number Diff line change 133133 "Online" : " Online" ,
134134 "Away" : " Away" ,
135135 "Appear Offline" : " Appear Offline" ,
136- "Failed to remove tag %(tagName)s from room" : " Failed to remove tag %(tagName)s from room" ,
137136 "Failed to set Direct Message status of room" : " Failed to set Direct Message status of room" ,
138137 "unknown error code" : " unknown error code" ,
139138 "Failed to forget room %(errCode)s" : " Failed to forget room %(errCode)s" ,
190189 "Search for a room" : " Search for a room" ,
191190 "#example" : " #example" ,
192191 "more" : " more" ,
193- "Failed to add tag %(tagName)s to room" : " Failed to add tag %(tagName)s to room" ,
194192 "Expand panel" : " Expand panel" ,
195193 "Collapse panel" : " Collapse panel" ,
196194 "Filter room names" : " Filter room names" ,
You can’t perform that action at this time.
0 commit comments