From c5f07ef66c3375e6696813d969a36f0100f4d5cb Mon Sep 17 00:00:00 2001 From: Johann150 Date: Tue, 4 Oct 2022 21:14:00 +0200 Subject: [PATCH] client: fix notification settings displaying empty The default value was chosen incorrectly in commit ab84457c0ed448584ef1de3d0d655b5517017b58. To be backward compatible the default value has to include all available notification types. --- packages/client/src/components/notification-setting-window.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/notification-setting-window.vue b/packages/client/src/components/notification-setting-window.vue index 4edbda033..f228b4dbf 100644 --- a/packages/client/src/components/notification-setting-window.vue +++ b/packages/client/src/components/notification-setting-window.vue @@ -47,7 +47,7 @@ const props = withDefaults(defineProps<{ message?: string, }>(), { includingTypes: () => [], - notificationTypes: () => [], + notificationTypes: foundkey.notificationTypes, showGlobalToggle: true, message: i18n.ts.notificationSettingDesc, });