Data Type Details Workspace View

Canceling the picker no longer empties the Property Editor selection.
This commit is contained in:
leekelleher
2024-04-25 14:06:11 +01:00
parent 6f0118ae5c
commit 05a7df23b3

View File

@@ -63,7 +63,9 @@ export class UmbDataTypeDetailsWorkspaceViewEditElement extends UmbLitElement im
.onSubmit()
.catch(() => undefined);
this._workspaceContext?.setPropertyEditorUiAlias(value?.selection[0]);
if (value) {
this._workspaceContext?.setPropertyEditorUiAlias(value.selection[0]);
}
}
render() {