mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Jobs that error should trigger us to to update the Recent Jobs list along with successful/failed/canceled
This commit is contained in:
@@ -108,7 +108,7 @@ export default ['$scope','Wait', '$timeout', 'i18n',
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.$on('ws-jobs', function (e, msg) {
|
$scope.$on('ws-jobs', function (e, msg) {
|
||||||
if (msg.status === 'successful' || msg.status === 'failed' || msg.status === 'canceled') {
|
if (msg.status === 'successful' || msg.status === 'failed' || msg.status === 'canceled' || msg.status === 'error') {
|
||||||
newJobs.push(msg.unified_job_id);
|
newJobs.push(msg.unified_job_id);
|
||||||
if (!newJobsTimerRunning) {
|
if (!newJobsTimerRunning) {
|
||||||
fetchNewJobs();
|
fetchNewJobs();
|
||||||
|
|||||||
Reference in New Issue
Block a user