mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Broadcast updateDataset for job template controller
So it knows to call the `refreshJobs ()` method and update the model accordingly.
This commit is contained in:
@@ -56,6 +56,7 @@ export default ['$scope', '$stateParams', '$state', '$filter', 'GetBasePath', 'Q
|
|||||||
}
|
}
|
||||||
$scope.dataset = res.data;
|
$scope.dataset = res.data;
|
||||||
$scope.collection = res.data.results;
|
$scope.collection = res.data.results;
|
||||||
|
$scope.$emit('updateDataset', res.data);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user