mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
function IndexJobsController ($scope, strings, dataset) {
|
|
const vm = this;
|
|
vm.strings = strings;
|
|
vm.count = dataset.data.count;
|
|
|
|
$scope.$on('updateCount', (e, count) => {
|
|
if (count) {
|
|
vm.count = count;
|
|
}
|
|
});
|
|
}
|
|
|
|
IndexJobsController.$inject = [
|
|
'$scope',
|
|
'JobsStrings',
|
|
'Dataset'
|
|
];
|
|
|
|
export default IndexJobsController;
|