From c922a2479bc84c2f207f9c38308e64a1a2ff3fed Mon Sep 17 00:00:00 2001 From: Nya Candy Date: Thu, 4 Jan 2024 15:13:51 +0800 Subject: [PATCH] feat: no notify when ws disconnect --- packages/frontend/src/pages/settings/general.vue | 1 + packages/frontend/src/store.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 1bfdfd0e7..127f78b8c 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -173,6 +173,7 @@ SPDX-License-Identifier: AGPL-3.0-only + diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 1ddcca5af..e48723dcb 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -206,7 +206,7 @@ export const defaultStore = markRaw(new Storage('base', { }, serverDisconnectedBehavior: { where: 'device', - default: 'quiet' as 'quiet' | 'reload' | 'dialog', + default: null as null | 'quiet' | 'reload' | 'dialog', }, nsfw: { where: 'device',