Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts: # src/Umbraco.Infrastructure/PropertyEditors/DataValueReferenceFactoryCollection.cs # src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs # src/Umbraco.Web/PropertyEditors/ValueConverters/MarkdownEditorValueConverter.cs
This commit is contained in:
@@ -381,7 +381,12 @@ namespace Umbraco.Web.Trees
|
||||
var startNodes = Services.EntityService.GetAll(UmbracoObjectType, UserStartNodes);
|
||||
//if any of these start nodes' parent is current, then we need to render children normally so we need to switch some logic and tell
|
||||
// the UI that this node does have children and that it isn't a container
|
||||
if (startNodes.Any(x => x.ParentId == e.Id))
|
||||
|
||||
if (startNodes.Any(x =>
|
||||
{
|
||||
var pathParts = x.Path.Split(',');
|
||||
return pathParts.Contains(e.Id.ToInvariantString());
|
||||
}))
|
||||
{
|
||||
renderChildren = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user