diff options
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 64e6bb42b..2ddeeffd4 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -296,9 +296,12 @@ export default class ServicesStore extends Store { | |||
296 | } | 296 | } |
297 | 297 | ||
298 | if (service.isNotificationEnabled) { | 298 | if (service.isNotificationEnabled) { |
299 | const title = typeof args[0].title === 'string' ? args[0].title : service.name; | ||
300 | options.body = typeof options.body === 'string' ? options.body : ''; | ||
301 | |||
299 | this.actions.app.notify({ | 302 | this.actions.app.notify({ |
300 | notificationId: args[0].notificationId, | 303 | notificationId: args[0].notificationId, |
301 | title: args[0].title, | 304 | title, |
302 | options, | 305 | options, |
303 | serviceId, | 306 | serviceId, |
304 | }); | 307 | }); |