mirror of https://github.com/vector-im/riot-web
fixing errors
parent
4baf3b8deb
commit
f705796477
|
@ -41,7 +41,7 @@ class GroupFilterOrderStore extends Store {
|
|||
|
||||
// Initialise state
|
||||
this._state = Object.assign({}, INITIAL_STATE);
|
||||
SettingsStore.monitorSetting("GroupFilterPanel.enableGroupFilterPanel", null);
|
||||
SettingsStore.monitorSetting("TagPanel.enableTagPanel", null);
|
||||
}
|
||||
|
||||
_setState(newState) {
|
||||
|
@ -190,7 +190,7 @@ class GroupFilterOrderStore extends Store {
|
|||
break;
|
||||
}
|
||||
case 'setting_updated':
|
||||
if (payload.settingName === 'GroupFilterPanel.enableGroupFilterPanel' && !payload.newValue) {
|
||||
if (payload.settingName === 'TagPanel.enableTagPanel' && !payload.newValue) {
|
||||
this._setState({
|
||||
selectedTags: [],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue