Update notification counter of all clients on push

This commit is contained in:
2018-03-01 12:08:27 +01:00
parent 0a51b37378
commit 2b62d22f9f
3 changed files with 14 additions and 3 deletions

View File

@ -17,9 +17,6 @@ export async function testNotification(arn: AnimeNotifier) {
await fetch("/api/test/notification", {
credentials: "same-origin"
})
// Update notification counter
arn.notificationManager.update()
}
// Mark notifications as seen