From 07c6b399f66a697b61e100519e7ef8eba54f21fe Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 16 Aug 2022 00:02:04 -0700 Subject: [PATCH] mark all as ready upon loading notifs --- packages/client/src/pages/notifications.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/pages/notifications.vue b/packages/client/src/pages/notifications.vue index acf338c2c..26ea07eaa 100644 --- a/packages/client/src/pages/notifications.vue +++ b/packages/client/src/pages/notifications.vue @@ -27,6 +27,7 @@ import { definePageMetadata } from '@/scripts/page-metadata'; let tab = $ref('all'); let includeTypes = $ref(null); let unreadOnly = $computed(() => tab === 'unread'); +os.apiWithDialog('notifications/mark-all-as-read'); const mentionsPagination = { endpoint: 'notes/mentions' as const,