1
Fork 0

Fix: Fix a bug with settings not being initialized properly.

This commit is contained in:
Bauke 2020-06-05 23:45:47 +02:00
parent dc1f564872
commit 272ea0fe4b
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export async function getSettings(): Promise<Settings> {
data: {...defaultSettings.data, ...syncSettings.data}, data: {...defaultSettings.data, ...syncSettings.data},
features: {...defaultSettings.features, ...syncSettings.features} features: {...defaultSettings.features, ...syncSettings.features}
}; };
debug = syncSettings.features.debug; debug = settings.features.debug;
// If we're in development, force debug output. // If we're in development, force debug output.
if (getManifest().nodeEnv === 'development') { if (getManifest().nodeEnv === 'development') {
debug = true; debug = true;