Port v7@2aa0dfb2c5 - WIP

This commit is contained in:
Stephan
2018-03-27 10:04:07 +02:00
parent a2a4edb3be
commit 0a4878d2a3
119 changed files with 3016 additions and 1376 deletions

View File

@@ -50,7 +50,7 @@ namespace Umbraco.Web.Editors
{
//get the first tree in the section and get it's root node route path
var sectionTrees = appTreeController.GetApplicationTrees(section.Alias, null, null).Result;
section.RoutePath = sectionTrees.IsContainer == false
section.RoutePath = sectionTrees.IsContainer == false || sectionTrees.Children.Count == 0
? sectionTrees.RoutePath
: sectionTrees.Children[0].RoutePath;
}