Showing
1 changed file
with
5 additions
and
1 deletions
... | ... | @@ -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); | ... | ... |