From 43b533041a2c2b33f46fdad1563849f047f59d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 21 Dec 2023 16:40:00 +0100 Subject: [PATCH] use null instead of empty string --- .../templates/workspace/template-workspace-editor.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-editor.element.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-editor.element.ts index 44c06c7245..e28271d172 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-editor.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-editor.element.ts @@ -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); }); }