Fix: Fix a bug with settings not being initialized properly.
This commit is contained in:
parent
dc1f564872
commit
272ea0fe4b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue