no need for fall back
This commit is contained in:
@@ -93,7 +93,7 @@ export class UmbPropertyTypeBasedPropertyElement extends UmbLitElement {
|
||||
this._dataTypeObserver = this.observe(
|
||||
await this._dataTypeRepository.byId(dataTypeId),
|
||||
(dataType) => {
|
||||
this._dataTypeData = new UmbDataTypePropertyCollection(dataType?.values || []);
|
||||
this._dataTypeData = new UmbDataTypePropertyCollection(dataType?.values);
|
||||
this._propertyEditorUiAlias = dataType?.propertyEditorUiAlias || undefined;
|
||||
},
|
||||
'observeDataType'
|
||||
|
||||
Reference in New Issue
Block a user