Commit a43d3f2fd29c402c6899833768a87d04608d8cbc

Authored by Igor Kulikov
1 parent 471ed87f

UI: Minor improvements

... ... @@ -41,7 +41,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
41 41
42 42 @Input()
43 43 set entitiesTableConfig(entitiesTableConfig: C) {
44   - this.entitiesTableConfigValue = entitiesTableConfig;
  44 + this.setEntitiesTableConfig(entitiesTableConfig);
45 45 }
46 46
47 47 get entitiesTableConfig(): C {
... ... @@ -120,6 +120,10 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
120 120 return formValue;
121 121 }
122 122
  123 + protected setEntitiesTableConfig(entitiesTableConfig: C) {
  124 + this.entitiesTableConfigValue = entitiesTableConfig;
  125 + }
  126 +
123 127 abstract buildForm(entity: T): FormGroup;
124 128
125 129 abstract updateForm(entity: T);
... ...