More JSON properties to JavaScript camelCase

This commit is contained in:
the-djmaze 2023-02-21 11:52:50 +01:00
parent 07f6b7545a
commit d1823af111
21 changed files with 83 additions and 80 deletions

View file

@ -27,7 +27,7 @@ export class AdminApp extends AbstractApp {
rl.route.root();
setTimeout(() => location.href = '/', 1);
} else if (SettingsGet('Auth')) {
this.weakPassword(SettingsGet('WeakPassword'));
this.weakPassword(SettingsGet('weakPassword'));
startScreens([SettingsAdminScreen]);
} else {
startScreens([LoginAdminScreen]);

View file

@ -156,7 +156,7 @@ export class AppUser extends AbstractApp {
? items.map(oValue => new AccountModel(oValue.email, oValue.name))
: []
);
AccountUserStore.unshift(new AccountModel(SettingsGet('MainEmail'), '', false));
AccountUserStore.unshift(new AccountModel(SettingsGet('mainEmail'), '', false));
items = oData.Result.Identities;
IdentityUserStore(isArray(items)
@ -204,7 +204,7 @@ export class AppUser extends AbstractApp {
refresh() {
ThemeStore.populate();
LanguageStore.language(SettingsGet('Language'));
LanguageStore.language(SettingsGet('language'));
changeTheme(SettingsGet('Theme'));
this.start();
}