diff options
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 3ee799b69..1debf69f6 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -399,7 +399,7 @@ export default class ServicesStore extends Store { | |||
399 | } | 399 | } |
400 | 400 | ||
401 | if (service.isNotificationEnabled) { | 401 | if (service.isNotificationEnabled) { |
402 | let title = 'Notification from ' + service.name; | 402 | let title = `Notification from ${service.name}`; |
403 | if (!this.stores.settings.all.app.privateNotifications) { | 403 | if (!this.stores.settings.all.app.privateNotifications) { |
404 | options.body = typeof options.body === 'string' ? options.body : ''; | 404 | options.body = typeof options.body === 'string' ? options.body : ''; |
405 | title = typeof args[0].title === 'string' ? args[0].title : service.name; | 405 | title = typeof args[0].title === 'string' ? args[0].title : service.name; |
@@ -409,7 +409,7 @@ export default class ServicesStore extends Store { | |||
409 | options.icon = '/assets/img/notification-badge.gif'; | 409 | options.icon = '/assets/img/notification-badge.gif'; |
410 | } | 410 | } |
411 | 411 | ||
412 | console.log(title, options) | 412 | console.log(title, options); |
413 | 413 | ||
414 | this.actions.app.notify({ | 414 | this.actions.app.notify({ |
415 | notificationId: args[0].notificationId, | 415 | notificationId: args[0].notificationId, |