From b15421b0597fa40d961db2e102d6b54059196b27 Mon Sep 17 00:00:00 2001 From: Danny Qiu Date: Tue, 14 Nov 2017 01:39:44 -0500 Subject: Fix application of onNotify --- src/webview/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webview/notifications.js') diff --git a/src/webview/notifications.js b/src/webview/notifications.js index 4055b10de..4f602bfdb 100644 --- a/src/webview/notifications.js +++ b/src/webview/notifications.js @@ -10,9 +10,9 @@ class Notification { this.notificationId = uuidV1(); ipcRenderer.sendToHost('notification', this.onNotify({ + title: this.title, + options: this.options, notificationId: this.notificationId, - title, - options, })); ipcRenderer.once(`notification-onclick:${this.notificationId}`, () => { -- cgit v1.2.3-70-g09d2