Makes sure to set no child nodes & menu url

Removes the child arrow for tree items
Removes the 3 dots for the context menu item that had nothing in it
This commit is contained in:
Warren
2018-03-21 15:53:09 +00:00
parent 10972002d9
commit d8c1e2fa98

View File

@@ -35,6 +35,8 @@ namespace Umbraco.Web.Trees
//this will load in a custom UI instead of the dashboard for the root node
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Settings, Constants.Trees.Languages, "overview");
root.Icon = "icon-flag-alt";
root.HasChildren = false;
root.MenuUrl = null;
return root;
}