UI: Refactoring

This commit is contained in:
Artem Dzhereleiko 2023-07-31 17:01:41 +03:00
parent 3f963107da
commit 6cee9caad7

View File

@ -128,7 +128,7 @@ export class EntitySelectComponent implements ControlValueAccessor, OnInit, Afte
}; };
} else { } else {
this.modelValue = { this.modelValue = {
entityType: value?.entityType ? value.entityType : this.defaultEntityType, entityType: this.defaultEntityType,
id: null id: null
}; };
} }