mirror of https://github.com/Lissy93/dashy.git
🚨 Fixes bad object comparison
This commit is contained in:
parent
f250890f3b
commit
6702b9335f
|
@ -30,7 +30,7 @@ export default class ConfigAccumulator {
|
|||
let usersAppConfig = defaultAppConfig;
|
||||
if (localStorage[localStorageKeys.APP_CONFIG]) {
|
||||
usersAppConfig = JSON.parse(localStorage[localStorageKeys.APP_CONFIG]);
|
||||
} else if (appConfigFile !== {}) {
|
||||
} else if (Object.keys(appConfigFile).length > 0) {
|
||||
usersAppConfig = appConfigFile;
|
||||
}
|
||||
// Some settings have their own local storage keys, apply them here
|
||||
|
|
Loading…
Reference in New Issue