Skip to content

Commit

Permalink
fix: provide feedback when marking all notifs as read
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann150 committed Jul 30, 2022
1 parent 10bf055 commit dc9bfff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/pages/settings/notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
async function readAllUnreadNotes() {
await os.api('i/read-all-unread-notes');
await os.apiWithDialog('i/read-all-unread-notes');
}
async function readAllMessagingMessages() {
await os.api('i/read-all-messaging-messages');
await os.apiWithDialog('i/read-all-messaging-messages');
}
async function readAllNotifications() {
await os.api('notifications/mark-all-as-read');
await os.apiWithDialog('notifications/mark-all-as-read');
}
function configure() {
Expand Down

0 comments on commit dc9bfff

Please sign in to comment.