@@ -17,7 +17,7 @@ limitations under the License.
1717import * as React from "react" ;
1818import { createRef } from "react" ;
1919import GroupFilterPanel from "./GroupFilterPanel" ;
20- import CustomRoomGroupFilterPanel from "./CustomRoomGroupFilterPanel " ;
20+ import CustomRoomTagPanel from "./CustomRoomTagPanel " ;
2121import classNames from "classnames" ;
2222import dis from "../../dispatcher/dispatcher" ;
2323import { _t } from "../../languageHandler" ;
@@ -78,7 +78,8 @@ export default class LeftPanel extends React.Component<IProps, IState> {
7878 OwnProfileStore . instance . on ( UPDATE_EVENT , this . onBackgroundImageUpdate ) ;
7979 this . bgImageWatcherRef = SettingsStore . watchSetting (
8080 "RoomList.backgroundImage" , null , this . onBackgroundImageUpdate ) ;
81- this . GroupFilterPanelWatcherRef = SettingsStore . watchSetting ( "GroupFilterPanel.enableGroupFilterPanel" , null , ( ) => {
81+ this . GroupFilterPanelWatcherRef = SettingsStore . watchSetting ( "GroupFilterPanel.enableGroupFilterPanel" , null ,
82+ ( ) => {
8283 this . setState ( { showGroupFilterPanel : SettingsStore . getValue ( "GroupFilterPanel.enableGroupFilterPanel" ) } ) ;
8384 } ) ;
8485
@@ -375,10 +376,10 @@ export default class LeftPanel extends React.Component<IProps, IState> {
375376 }
376377
377378 public render ( ) : React . ReactNode {
378- const GroupFilterPanel = ! this . state . showGroupFilterPanel ? null : (
379+ const groupFilterPanel = ! this . state . showGroupFilterPanel ? null : (
379380 < div className = "mx_LeftPanel_GroupFilterPanelContainer" >
380381 < GroupFilterPanel />
381- { SettingsStore . getValue ( "feature_custom_tags" ) ? < CustomRoomGroupFilterPanel /> : null }
382+ { SettingsStore . getValue ( "feature_custom_tags" ) ? < CustomRoomTagPanel /> : null }
382383 </ div >
383384 ) ;
384385
0 commit comments