From 2471bb8c1c44200240992b0524219a9b93970ebd Mon Sep 17 00:00:00 2001 From: Dima Axelrod Date: Mon, 12 Aug 2024 12:29:04 +0300 Subject: [PATCH] flag to disable maintenance --- src/app/common/stores/Application.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/common/stores/Application.store.ts b/src/app/common/stores/Application.store.ts index 37703d7..acbd527 100644 --- a/src/app/common/stores/Application.store.ts +++ b/src/app/common/stores/Application.store.ts @@ -18,7 +18,7 @@ class ApplicationStore extends BaseStore { constructor() { super(); const darkModeSaved = this.localStorage.getItem('isDarkMode'); - this.isMaintenancePage = true; + this.isMaintenancePage = !this.localStorage.getItem('isMaintenancePage'); if (darkModeSaved) { this.darkMode = darkModeSaved === '1'; this.switchDarkMode(this.darkMode);