Skip to content

Commit

Permalink
Silent: false for notifications (#5284)
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
  • Loading branch information
BykhovDenis authored Apr 10, 2024
1 parent 50d5c3b commit ed19213
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions models/notification/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
1 change: 1 addition & 0 deletions models/tracker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function defineNotifications (builder: Builder): void {
},
providers: {
[notification.providers.PlatformNotification]: true,
[notification.providers.BrowserNotification]: true,
[notification.providers.EmailNotification]: true
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ed19213

Please sign in to comment.