diff --git a/models/notification/src/index.ts b/models/notification/src/index.ts index b3ce0534b1..9ef9b1c022 100644 --- a/models/notification/src/index.ts +++ b/models/notification/src/index.ts @@ -576,6 +576,7 @@ export function createModel (builder: Builder): void { group: notification.ids.NotificationGroup, providers: { [notification.providers.EmailNotification]: true, + [notification.providers.BrowserNotification]: true, [notification.providers.PlatformNotification]: true }, templates: { diff --git a/models/tracker/src/index.ts b/models/tracker/src/index.ts index 8ab36d53cc..86ff7dd30b 100644 --- a/models/tracker/src/index.ts +++ b/models/tracker/src/index.ts @@ -119,6 +119,7 @@ function defineNotifications (builder: Builder): void { }, providers: { [notification.providers.PlatformNotification]: true, + [notification.providers.BrowserNotification]: true, [notification.providers.EmailNotification]: true } }, diff --git a/plugins/notification-resources/src/components/BrowserNotificatator.svelte b/plugins/notification-resources/src/components/BrowserNotificatator.svelte index 50a87997a0..ab424871ca 100644 --- a/plugins/notification-resources/src/components/BrowserNotificatator.svelte +++ b/plugins/notification-resources/src/components/BrowserNotificatator.svelte @@ -44,7 +44,8 @@ for (const value of notifications) { const req: NotificationOptions = { body: value.body, - tag: value._id + tag: value._id, + silent: false } const notification = new Notification(value.title, req) if (value.onClickLocation !== undefined) {