Many AppData properties to JavaScript camelCase

This commit is contained in:
the-djmaze 2023-02-21 10:22:59 +01:00
parent c53d9adaba
commit ce2fb9d7f2
21 changed files with 82 additions and 66 deletions

View file

@ -33,7 +33,7 @@ export class AdminSettingsGeneral extends AbstractViewSettings {
this.theme = ThemeStore.theme;
this.themes = ThemeStore.themes;
this.addSettings(['AllowLanguagesOnSettings']);
this.addSettings(['allowLanguagesOnSettings']);
addObservablesTo(this, {
capaThemes: SettingsCapa('Themes'),
@ -60,7 +60,7 @@ export class AdminSettingsGeneral extends AbstractViewSettings {
this.addSetting('AttachmentLimit');
this.addSetting('Theme', value => changeTheme(value, this.themeTrigger));
this.uploadData = SettingsGet('PhpUploadSizes');
this.uploadData = SettingsGet('phpUploadSizes');
this.uploadDataDesc =
(this.uploadData?.upload_max_filesize || this.uploadData?.post_max_size)
? [