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:
Bjarke Berg
2019-06-17 07:18:23 +02:00
parent e39e132feb
commit 46f4984add

View File

@@ -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();
}