diff --git a/frontend/app/features/content/pages/content/content-field.component.ts b/frontend/app/features/content/pages/content/content-field.component.ts index 44343aa8d..44179dae8 100644 --- a/frontend/app/features/content/pages/content/content-field.component.ts +++ b/frontend/app/features/content/pages/content/content-field.component.ts @@ -120,8 +120,8 @@ export class ContentFieldComponent implements DoCheck, OnChanges { } } - public changeShowAllControls(value: boolean) { - this.showAllControls = value; + public changeShowAllControls(showAllControls: boolean) { + this.showAllControls = showAllControls; this.localStore.setBoolean(this.configKey(), this.showAllControls); } diff --git a/frontend/app/features/content/pages/content/field-languages.component.ts b/frontend/app/features/content/pages/content/field-languages.component.ts index 90c3a071b..3f56fde76 100644 --- a/frontend/app/features/content/pages/content/field-languages.component.ts +++ b/frontend/app/features/content/pages/content/field-languages.component.ts @@ -35,6 +35,6 @@ export class FieldLanguagesComponent { public field: RootFieldDto; public toggleShowAllControls() { - this.showAllControlsChange.emit(this.showAllControls); + this.showAllControlsChange.emit(!this.showAllControls); } } \ No newline at end of file