mark all as ready upon loading notifs
This commit is contained in:
parent
0b99897410
commit
a0787d837a
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ import { definePageMetadata } from '@/scripts/page-metadata';
|
||||||
let tab = $ref('all');
|
let tab = $ref('all');
|
||||||
let includeTypes = $ref<string[] | null>(null);
|
let includeTypes = $ref<string[] | null>(null);
|
||||||
let unreadOnly = $computed(() => tab === 'unread');
|
let unreadOnly = $computed(() => tab === 'unread');
|
||||||
|
os.apiWithDialog('notifications/mark-all-as-read');
|
||||||
|
|
||||||
const mentionsPagination = {
|
const mentionsPagination = {
|
||||||
endpoint: 'notes/mentions' as const,
|
endpoint: 'notes/mentions' as const,
|
||||||
|
|
Loading…
Reference in a new issue