Browse Source

UI: refactoring

pull/10928/head
Artem Dzhereleiko 2 years ago
parent
commit
2aa90d8136
  1. 6
      ui-ngx/src/app/shared/components/entity/entity-type-select.component.ts

6
ui-ngx/src/app/shared/components/entity/entity-type-select.component.ts

@ -90,9 +90,9 @@ export class EntityTypeSelectComponent implements ControlValueAccessor, OnInit,
}
ngOnInit() {
this.entityTypes = this.filterAllowedEntityTypes ?
this.entityService.prepareAllowedEntityTypesList(this.allowedEntityTypes, this.useAliasEntityTypes) :
this.allowedEntityTypes;
this.entityTypes = this.filterAllowedEntityTypes
? this.entityService.prepareAllowedEntityTypesList(this.allowedEntityTypes, this.useAliasEntityTypes)
: this.allowedEntityTypes;
this.entityTypeFormGroup.get('entityType').valueChanges.subscribe(
(value) => {
let modelValue;

Loading…
Cancel
Save