fix badge updating and xss e2e test for projects list updates

This commit is contained in:
John Mitchell
2018-10-18 15:37:29 -04:00
parent 5e0ecc7f43
commit bb921af146
5 changed files with 30 additions and 26 deletions

View File

@@ -27,6 +27,9 @@ function projectsListController (
};
vm.dataset = Dataset.data;
vm.projects = Dataset.data.results;
$scope.$watch('vm.dataset.count', () => {
$scope.$emit('updateCount', vm.dataset.count, 'projects');
});
// build tooltips
_.forEach(vm.projects, buildTooltips);
$rootScope.flashMessage = null;