UI: Minor improvements
This commit is contained in:
parent
471ed87ff6
commit
a43d3f2fd2
@ -41,7 +41,7 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
|
||||
|
||||
@Input()
|
||||
set entitiesTableConfig(entitiesTableConfig: C) {
|
||||
this.entitiesTableConfigValue = entitiesTableConfig;
|
||||
this.setEntitiesTableConfig(entitiesTableConfig);
|
||||
}
|
||||
|
||||
get entitiesTableConfig(): C {
|
||||
@ -120,6 +120,10 @@ export abstract class EntityComponent<T extends BaseData<HasId>,
|
||||
return formValue;
|
||||
}
|
||||
|
||||
protected setEntitiesTableConfig(entitiesTableConfig: C) {
|
||||
this.entitiesTableConfigValue = entitiesTableConfig;
|
||||
}
|
||||
|
||||
abstract buildForm(entity: T): FormGroup;
|
||||
|
||||
abstract updateForm(entity: T);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user