Fixes: U4-4055 List View document types still display children in content tree
This commit is contained in:
@@ -98,9 +98,7 @@ namespace Umbraco.Web.Trees
|
||||
{
|
||||
|
||||
//Special check to see if it ia a container, if so then we'll hide children.
|
||||
var isContainer = e.AdditionalData.ContainsKey("IsContainer")
|
||||
&& e.AdditionalData["IsContainer"] is bool
|
||||
&& (bool)e.AdditionalData["IsContainer"];
|
||||
var isContainer = e.IsContainer();
|
||||
|
||||
var node = CreateTreeNode(
|
||||
e.Id.ToInvariantString(),
|
||||
|
||||
Reference in New Issue
Block a user