mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Silent: false for notifications (#5284)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
50d5c3bad9
commit
ed192130f1
@ -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: {
|
||||
|
@ -119,6 +119,7 @@ function defineNotifications (builder: Builder): void {
|
||||
},
|
||||
providers: {
|
||||
[notification.providers.PlatformNotification]: true,
|
||||
[notification.providers.BrowserNotification]: true,
|
||||
[notification.providers.EmailNotification]: true
|
||||
}
|
||||
},
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user