diff --git a/src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs b/src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs index 27c26004b9..f68b4f8783 100644 --- a/src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs +++ b/src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs @@ -63,8 +63,8 @@ public class ContentTypeTreeController : TreeController, ISearchableTree if (root is not null) { - //check if there are any types - root.HasChildren = _contentTypeService.GetAll().Any(); + // check if there are any types or containers + root.HasChildren = _contentTypeService.GetAll().Any() || _contentTypeService.GetContainers(Array.Empty()).Any(); } return root;