use null instead of empty string
This commit is contained in:
@@ -137,7 +137,7 @@ export class UmbTemplateWorkspaceEditorElement extends UmbLitElement {
|
||||
|
||||
modalContext?.onSubmit().then((value) => {
|
||||
if (!value?.selection) return;
|
||||
this.#templateWorkspaceContext?.setMasterTemplate(value.selection[0] ?? '');
|
||||
this.#templateWorkspaceContext?.setMasterTemplate(value.selection[0] ?? null);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user