Fixes % calc for tours since it now requires a promise

This commit is contained in:
Shannon
2017-11-01 15:54:47 +11:00
parent bbe80d882a
commit af6d2df823

View File

@@ -28,6 +28,7 @@
tourService.getGroupedTours().then(function(groupedTours) {
vm.tours = groupedTours;
getTourGroupCompletedPercentage();
});
// load custom help dashboard
@@ -53,8 +54,6 @@
findHelp(vm.section, vm.tree, vm.usertype, vm.userLang);
});
getTourGroupCompletedPercentage();
// check if a tour is running - if it is open the matching group
var currentTour = tourService.getCurrentTour();