From 1f9f2b18969579a754ee9e83ee561a242cf6dfc8 Mon Sep 17 00:00:00 2001 From: Nathan Woulfe Date: Wed, 17 May 2023 13:39:26 +1000 Subject: [PATCH] no need for fall back --- .../property-type-based-property.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/core/components/property-type-based-property/property-type-based-property.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/core/components/property-type-based-property/property-type-based-property.element.ts index 6e2e393a91..fa5a82a92e 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/core/components/property-type-based-property/property-type-based-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/core/components/property-type-based-property/property-type-based-property.element.ts @@ -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'