Fix logic - so that Content Blueprints tree is added to the list of trees (Finding by name/title was not working, so switched to the AdditionalData["treeAlias"] instead
This commit is contained in:
@@ -116,7 +116,7 @@ namespace Umbraco.Web.Trees
|
||||
if (findAppTree != null)
|
||||
{
|
||||
//Now we need to get the 'TreeNode' which is in 'collection'
|
||||
var treeItemNode = collection.SingleOrDefault(x => x.Name == findAppTree.Title);
|
||||
var treeItemNode = collection.SingleOrDefault(x => x.AdditionalData["treeAlias"].ToString() == findAppTree.Alias);
|
||||
|
||||
if (treeItemNode != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user