Skip to content

Commit f7b485a

Browse files
committed
filter out tabs and groups in tabs for nested content
1 parent 27e74e7 commit f7b485a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web/PropertyEditors/NestedContentController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public IEnumerable<object> GetContentTypes()
2222
name = x.Name,
2323
alias = x.Alias,
2424
icon = x.Icon,
25-
tabs = x.CompositionPropertyGroups.Select(y => y.Name).Distinct()
25+
tabs = x.CompositionPropertyGroups.Where(y => y.Type == Core.Models.PropertyGroupType.Group && !y.Alias.Contains("/")).Select(y => y.Name).Distinct()
2626
});
2727
}
2828
}

0 commit comments

Comments
 (0)