UI: refactoring
This commit is contained in:
parent
ef2dc38325
commit
2aa90d8136
@ -90,9 +90,9 @@ export class EntityTypeSelectComponent implements ControlValueAccessor, OnInit,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.entityTypes = this.filterAllowedEntityTypes ?
|
this.entityTypes = this.filterAllowedEntityTypes
|
||||||
this.entityService.prepareAllowedEntityTypesList(this.allowedEntityTypes, this.useAliasEntityTypes) :
|
? this.entityService.prepareAllowedEntityTypesList(this.allowedEntityTypes, this.useAliasEntityTypes)
|
||||||
this.allowedEntityTypes;
|
: this.allowedEntityTypes;
|
||||||
this.entityTypeFormGroup.get('entityType').valueChanges.subscribe(
|
this.entityTypeFormGroup.get('entityType').valueChanges.subscribe(
|
||||||
(value) => {
|
(value) => {
|
||||||
let modelValue;
|
let modelValue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user