Fix notifications: windows -> window, serialize false setting

This commit is contained in:
Scott Nonnenberg 2017-11-22 14:32:39 -08:00
parent 16ad94148a
commit cdfdd6b381
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
2 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,7 @@
break;
}
if (windows.config.polyfillNotifications) {
if (window.config.polyfillNotifications) {
window.nodeNotifier.notify({
title: title,
message: message,

View File

@ -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()
}
})
}