mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -03:30
fix badge updating and xss e2e test for projects list updates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user