diff --git a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts index 5ad569c45e..d98bcd3adf 100644 --- a/ui-ngx/src/app/modules/home/components/entity/entity.component.ts +++ b/ui-ngx/src/app/modules/home/components/entity/entity.component.ts @@ -41,7 +41,7 @@ export abstract class EntityComponent, @Input() set entitiesTableConfig(entitiesTableConfig: C) { - this.entitiesTableConfigValue = entitiesTableConfig; + this.setEntitiesTableConfig(entitiesTableConfig); } get entitiesTableConfig(): C { @@ -120,6 +120,10 @@ export abstract class EntityComponent, return formValue; } + protected setEntitiesTableConfig(entitiesTableConfig: C) { + this.entitiesTableConfigValue = entitiesTableConfig; + } + abstract buildForm(entity: T): FormGroup; abstract updateForm(entity: T);