client: fix notification settings displaying empty
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

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: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

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