diff --git a/src/frontend/app/ui/settings/_abstract/abstract.settings.component.ts b/src/frontend/app/ui/settings/_abstract/abstract.settings.component.ts index 2ecfff05..b41f04ec 100644 --- a/src/frontend/app/ui/settings/_abstract/abstract.settings.component.ts +++ b/src/frontend/app/ui/settings/_abstract/abstract.settings.component.ts @@ -198,13 +198,15 @@ export abstract class SettingsComponent { for (const key of Object.keys(obj)) { to[key] = {}; - if (obj[key].isConfigType) { - return add(obj[key], to[key]); + if (obj[key].isConfigType || (typeof obj[key] === 'object' && typeof obj[key].value === 'undefined')) { + add(obj[key], to[key]); + continue; } to[key] = obj[key].value; } }; add(this.states, ret); + return ret; } diff --git a/src/frontend/app/ui/settings/video/video.settings.component.html b/src/frontend/app/ui/settings/video/video.settings.component.html index 17efed27..1953fb5f 100644 --- a/src/frontend/app/ui/settings/video/video.settings.component.html +++ b/src/frontend/app/ui/settings/video/video.settings.component.html @@ -2,7 +2,6 @@
{{Name}} - *