https://umbraco.visualstudio.com/D-Team%20Tracker/_workitems/edit/1357: Fixed issue where too fast change between sections, leads to a wrong tree (The first requested) shown in the menu.
This commit is contained in:
@@ -243,7 +243,7 @@ function umbTreeDirective($q, $rootScope, treeService, notificationsService, use
|
||||
return treeService.getTree(args)
|
||||
.then(function (data) {
|
||||
//Only use the tree data, if we are still on the correct section
|
||||
if(data.alias !== $scope.section){
|
||||
if(data.alias !== $scope.section){
|
||||
return $q.reject();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user