we don't do mx_fadable anymore so get rid of broken RLS disabling

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-19 13:57:36 +00:00
parent 15a1772703
commit fb46258528
3 changed files with 1 additions and 14 deletions

View file

@ -42,8 +42,6 @@ const GROUP_PHASES = Object.keys(RIGHT_PANEL_PHASES).filter(k => k.startsWith("G
export default class RightPanelStore extends Store {
static _instance;
_inhibitUpdates = false;
constructor() {
super(dis);
@ -116,11 +114,6 @@ export default class RightPanelStore extends Store {
}
__onDispatch(payload) {
if (payload.action === 'panel_disable') {
this._inhibitUpdates = payload.rightDisabled || payload.sideDisabled || false;
return;
}
if (payload.action === 'view_room' || payload.action === 'view_group') {
// Reset to the member list if we're viewing member info
const memberInfoPhases = [
@ -138,7 +131,7 @@ export default class RightPanelStore extends Store {
}
}
if (payload.action !== 'set_right_panel_phase' || this._inhibitUpdates) return;
if (payload.action !== 'set_right_panel_phase') return;
const targetPhase = payload.phase;
if (!RIGHT_PANEL_PHASES[targetPhase]) {