From 4256381e62d6ee3ae35275d8d44b10eb24c8a18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 14 Nov 2024 11:18:15 +0100 Subject: [PATCH] correct code example --- .../section-trees/sections/section-sidebar.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/15/umbraco-cms/customizing/section-trees/sections/section-sidebar.md b/15/umbraco-cms/customizing/section-trees/sections/section-sidebar.md index ca9355ce648..b4a66bae545 100644 --- a/15/umbraco-cms/customizing/section-trees/sections/section-sidebar.md +++ b/15/umbraco-cms/customizing/section-trees/sections/section-sidebar.md @@ -43,14 +43,20 @@ interface UmbSectionSidebarAppElement {} ```typescript { - "type": "menuSectionSidebarApp", + "type": "sectionSidebarApp", + "kind": "menu", "alias": "My.SectionSidebarApp.MyMenu", "name": "My Menu Section Sidebar App", "meta": { "label": "My Sidebar Menu", - "sections": ["My.Section"], "menu": "My.Menu" - } + }, + "conditions": [ + { + "alias": "Umb.Condition.SectionAlias", + "match": "My.Section" + } + ] } ```