Skip to content

Commit 944cdc3

Browse files
Bugfix: Data Type selection for Property Editors without schema in manifests (#2132)
Fixes Data Type selection for Property Editors without schema defined in the manifests Co-authored-by: Jacob Overgaard <[email protected]>
1 parent 538c61c commit 944cdc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/packages/data-type/workspace/data-type-workspace.context.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ export class UmbDataTypeWorkspaceContext
139139
// if the property editor ui alias is not set, we use the default alias from the schema
140140
if (propertyEditorUiAlias === null) {
141141
await this.#observePropertyEditorSchemaAlias();
142-
this.setPropertyEditorUiAlias(this.#propertyEditorSchemaConfigDefaultUIAlias!);
142+
if (this.#propertyEditorSchemaConfigDefaultUIAlias !== null) {
143+
this.setPropertyEditorUiAlias(this.#propertyEditorSchemaConfigDefaultUIAlias);
144+
}
143145
} else {
144146
await this.#setPropertyEditorUIConfig(propertyEditorUiAlias);
145147
this.setPropertyEditorSchemaAlias(this.#propertyEditorUISettingsSchemaAlias!);

0 commit comments

Comments
 (0)