From 0c3d33fe771701657cdf61fe9d55cb6f361acdc5 Mon Sep 17 00:00:00 2001 From: Natsuki Kaede Date: Sat, 20 Apr 2024 22:14:06 +0800 Subject: [PATCH] remove default ws disconnected notification --- 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 d13b6884b..75f316546 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -166,6 +166,7 @@ SPDX-License-Identifier: AGPL-3.0-only + diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index f8ed4ddca..158925236 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -205,7 +205,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',