mark all as ready upon loading notifs
This commit is contained in:
parent
e9b9df5efb
commit
07c6b399f6
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