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

@@ -4,7 +4,7 @@ function IndexProjectsController ($scope, strings, dataset) {
vm.count = dataset.data.count;
$scope.$on('updateCount', (e, count) => {
if (count) {
if (typeof count === 'number') {
vm.count = count;
}
});