1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Broadcast updateDataset for job template controller

So it knows to call the `refreshJobs ()` method and update the model
accordingly.
This commit is contained in:
kialam 2018-06-11 17:43:13 -04:00
parent 769e714f71
commit 9ef301f25a

View File

@ -56,6 +56,7 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
}
$scope.dataset = res.data;
$scope.collection = res.data.results;
$scope.$emit('updateDataset', res.data);
});
};