From a0787d837a8a2b1b8a29be461378053e7dab8555 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 acf338c2c2..26ea07eaa9 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,