Browse Source

UI: Fixed default value for entity-select.component.ts

pull/14710/head
Vladyslav_Prykhodko 9 months ago
committed by Vladyslav Prykhodko
parent
commit
7f81eabcb7
  1. 4
      ui-ngx/src/app/shared/components/entity/entity-select.component.ts

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

@ -68,7 +68,7 @@ export class EntitySelectComponent implements ControlValueAccessor, OnInit {
useEntityDisplayName = false;
@Input()
filterAllowedEntityTypes: boolean;
filterAllowedEntityTypes = true;
@Input()
defaultEntityType: AliasEntityType | EntityType;
@ -83,7 +83,7 @@ export class EntitySelectComponent implements ControlValueAccessor, OnInit {
AliasEntityType = AliasEntityType;
entityTypeNullUUID: Set<AliasEntityType | EntityType | string> = new Set([
entityTypeNullUUID = new Set<AliasEntityType | EntityType | string>([
AliasEntityType.CURRENT_TENANT, AliasEntityType.CURRENT_USER, AliasEntityType.CURRENT_USER_OWNER
]);

Loading…
Cancel
Save