From 0492701cf21e1db1c507bc986d9e43bfe2bb1444 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:19:47 +0100 Subject: [PATCH] enable hideTreeRoot --- .../components/input-template/input-template.element.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/components/input-template/input-template.element.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/components/input-template/input-template.element.ts index bd6070e732..e0c0540c9c 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/components/input-template/input-template.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/components/input-template/input-template.element.ts @@ -118,6 +118,7 @@ export class UmbInputTemplateElement extends FormControlMixin(UmbLitElement) { async #openPicker() { const modalContext = this._modalContext?.open(UMB_TEMPLATE_PICKER_MODAL, { data: { + hideTreeRoot: true, multiple: true, pickableFilter: (template) => template.unique !== null && !this._selectedIds.includes(template.unique), },