Fix notifications: windows -> window, serialize false setting
This commit is contained in:
parent
16ad94148a
commit
cdfdd6b381
2 changed files with 2 additions and 3 deletions
|
@ -86,7 +86,7 @@
|
|||
break;
|
||||
}
|
||||
|
||||
if (windows.config.polyfillNotifications) {
|
||||
if (window.config.polyfillNotifications) {
|
||||
window.nodeNotifier.notify({
|
||||
title: title,
|
||||
message: message,
|
||||
|
|
3
main.js
3
main.js
|
@ -64,7 +64,6 @@ const loadLocale = require('./app/locale').load;
|
|||
|
||||
let locale;
|
||||
|
||||
|
||||
const WINDOWS_8 = '8.0.0';
|
||||
const osRelease = os.release();
|
||||
const polyfillNotifications =
|
||||
|
@ -88,7 +87,7 @@ function prepareURL(pathSegments) {
|
|||
node_version: process.versions.node,
|
||||
hostname: os.hostname(),
|
||||
appInstance: process.env.NODE_APP_INSTANCE,
|
||||
polyfillNotifications: polyfillNotifications,
|
||||
polyfillNotifications: polyfillNotifications ? true : undefined, // for stringify()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue