Browse Source

Fix for show all controls.

pull/490/head
Sebastian 7 years ago
parent
commit
12367038ad
  1. 4
      frontend/app/features/content/pages/content/content-field.component.ts
  2. 2
      frontend/app/features/content/pages/content/field-languages.component.ts

4
frontend/app/features/content/pages/content/content-field.component.ts

@ -120,8 +120,8 @@ export class ContentFieldComponent implements DoCheck, OnChanges {
} }
} }
public changeShowAllControls(value: boolean) { public changeShowAllControls(showAllControls: boolean) {
this.showAllControls = value; this.showAllControls = showAllControls;
this.localStore.setBoolean(this.configKey(), this.showAllControls); this.localStore.setBoolean(this.configKey(), this.showAllControls);
} }

2
frontend/app/features/content/pages/content/field-languages.component.ts

@ -35,6 +35,6 @@ export class FieldLanguagesComponent {
public field: RootFieldDto; public field: RootFieldDto;
public toggleShowAllControls() { public toggleShowAllControls() {
this.showAllControlsChange.emit(this.showAllControls); this.showAllControlsChange.emit(!this.showAllControls);
} }
} }
Loading…
Cancel
Save