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); }); }