client: fix notification settings displaying empty

The default value was chosen incorrectly in commit
ab84457c0e. To be backward compatible
the default value has to include all available notification types.
This commit is contained in:
Johann150 2022-10-04 21:14:00 +02:00
parent a79506d895
commit c5f07ef66c
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -47,7 +47,7 @@ const props = withDefaults(defineProps<{
message?: string, message?: string,
}>(), { }>(), {
includingTypes: () => [], includingTypes: () => [],
notificationTypes: () => [], notificationTypes: foundkey.notificationTypes,
showGlobalToggle: true, showGlobalToggle: true,
message: i18n.ts.notificationSettingDesc, message: i18n.ts.notificationSettingDesc,
}); });