diff options
| author | Marie <github@yuugi.dev> | 2025-03-19 22:17:06 +0000 |
|---|---|---|
| committer | Marie <github@yuugi.dev> | 2025-03-19 22:17:06 +0000 |
| commit | 1b70e90744be4fd9ca92bf41e6f0e4658dd6723a (patch) | |
| tree | 21adf1cbf65e99b5cb3a3b1d92862df29d5c91fc /packages | |
| parent | merge: Optionally enable websocket compression (!921) (diff) | |
| download | sharkey-1b70e90744be4fd9ca92bf41e6f0e4658dd6723a.tar.gz sharkey-1b70e90744be4fd9ca92bf41e6f0e4658dd6723a.tar.bz2 sharkey-1b70e90744be4fd9ca92bf41e6f0e4658dd6723a.zip | |
upd: add scheduledNote notification types to only on and off types
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/pages/settings/notifications.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/settings/notifications.vue b/packages/frontend/src/pages/settings/notifications.vue index 8ffe0d6a7a..1afdb1e2b7 100644 --- a/packages/frontend/src/pages/settings/notifications.vue +++ b/packages/frontend/src/pages/settings/notifications.vue @@ -80,7 +80,7 @@ const $i = signinRequired(); const nonConfigurableNotificationTypes = ['note', 'roleAssigned', 'followRequestAccepted', 'test', 'exportCompleted'] satisfies (typeof notificationTypes[number])[] as string[]; -const onlyOnOrOffNotificationTypes = ['app', 'achievementEarned', 'login'] satisfies (typeof notificationTypes[number])[] as string[]; +const onlyOnOrOffNotificationTypes = ['app', 'achievementEarned', 'login', 'scheduleNoteFailed', 'scheduledNotePosted'] satisfies (typeof notificationTypes[number])[] as string[]; const allowButton = shallowRef<InstanceType<typeof MkPushNotificationAllowButton>>(); const pushRegistrationInServer = computed(() => allowButton.value?.pushRegistrationInServer); |