diff options
Diffstat (limited to 'frontend/src/developer.tsx')
| -rw-r--r-- | frontend/src/developer.tsx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/frontend/src/developer.tsx b/frontend/src/developer.tsx index 199350bf..67d9c4b8 100644 --- a/frontend/src/developer.tsx +++ b/frontend/src/developer.tsx @@ -11,12 +11,11 @@ let removeSettingsObserver: () => void = () => {}; export async function setShowValveInternal(show: boolean) { if (show) { - const mobx = - (window.settingsStore as any)[ - Object.getOwnPropertySymbols(window.settingsStore).find( - (x) => x.toString() == 'Symbol(mobx administration)', - ) as any - ]; + const mobx = (window.settingsStore as any)[ + Object.getOwnPropertySymbols(window.settingsStore).find( + (x) => x.toString() == 'Symbol(mobx administration)', + ) as any + ]; removeSettingsObserver = (mobx.observe_ || mobx.observe).call(mobx, (e: any) => { e.newValue.bIsValveEmail = true; |
