mark all as ready upon loading notifs

This commit is contained in:
ThatOneCalculator 2022-08-16 00:02:04 -07:00
parent 0b99897410
commit a0787d837a

View file

@ -27,6 +27,7 @@ import { definePageMetadata } from '@/scripts/page-metadata';
let tab = $ref('all');
let includeTypes = $ref<string[] | null>(null);
let unreadOnly = $computed(() => tab === 'unread');
os.apiWithDialog('notifications/mark-all-as-read');
const mentionsPagination = {
endpoint: 'notes/mentions' as const,