Fixes group node route

This commit is contained in:
Shannon
2018-10-16 18:08:57 +11:00
parent 10873c1dfc
commit a100d321f6
3 changed files with 6 additions and 3 deletions

View File

@@ -80,6 +80,7 @@ function umbTreeDirective($q, $rootScope, treeService, notificationsService, use
// entire tree again since we already still have it in memory. Of course if the section is different we will
// reload it. This saves a lot on processing if someone is navigating in and out of the same section many times
// since it saves on data retreival and DOM processing.
//TODO: This isn't used!?
var lastSection = "";
/** Helper function to emit tree events */
@@ -91,6 +92,7 @@ function umbTreeDirective($q, $rootScope, treeService, notificationsService, use
}
}
//TODO: This isn't used!?
function clearCache(section) {
treeService.clearCache({ section: section });
}