Fixes: U4-6168 Custom Section is not showing correctly in 7.2 if custom tree is empty
This commit is contained in:
@@ -76,7 +76,7 @@ function NavigationController($scope, $rootScope, $location, $log, $routeParams,
|
||||
//Listen for section state changes
|
||||
eventsService.on("appState.treeState.changed", function (e, args) {
|
||||
var f = args;
|
||||
if(args.value.root && args.value.root.children.length === 0){
|
||||
if (args.value.root && args.value.root.metaData.containsTrees === false) {
|
||||
$rootScope.emptySection = true;
|
||||
}else{
|
||||
$rootScope.emptySection = false;
|
||||
|
||||
Reference in New Issue
Block a user