From f7b485a199117de43a6fbf9f1568848022804211 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Tue, 21 Sep 2021 11:18:34 +0200 Subject: [PATCH] filter out tabs and groups in tabs for nested content --- src/Umbraco.Web/PropertyEditors/NestedContentController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PropertyEditors/NestedContentController.cs b/src/Umbraco.Web/PropertyEditors/NestedContentController.cs index 590a286c5d..23ca91841c 100644 --- a/src/Umbraco.Web/PropertyEditors/NestedContentController.cs +++ b/src/Umbraco.Web/PropertyEditors/NestedContentController.cs @@ -22,7 +22,7 @@ namespace Umbraco.Web.PropertyEditors name = x.Name, alias = x.Alias, icon = x.Icon, - tabs = x.CompositionPropertyGroups.Select(y => y.Name).Distinct() + tabs = x.CompositionPropertyGroups.Where(y => y.Type == Core.Models.PropertyGroupType.Group && !y.Alias.Contains("/")).Select(y => y.Name).Distinct() }); } }