aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stores/AppStore.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 84450845a..351ad6422 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -191,6 +191,9 @@ export default class AppStore extends Store {
191 } 191 }
192 192
193 const notification = new window.Notification(title, options); 193 const notification = new window.Notification(title, options);
194
195 debug('New notification', title, options);
196
194 notification.onclick = (e) => { 197 notification.onclick = (e) => {
195 if (serviceId) { 198 if (serviceId) {
196 this.actions.service.sendIPCMessage({ 199 this.actions.service.sendIPCMessage({
@@ -205,6 +208,8 @@ export default class AppStore extends Store {
205 mainWindow.restore(); 208 mainWindow.restore();
206 } 209 }
207 mainWindow.focus(); 210 mainWindow.focus();
211
212 debug('Notification click handler');
208 } 213 }
209 }; 214 };
210 } 215 }