mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Jobs that error should trigger us to to update the Recent Jobs list along with successful/failed/canceled
This commit is contained in:
parent
e11ff69f3e
commit
10b5a10728
@ -108,7 +108,7 @@ export default ['$scope','Wait', '$timeout', 'i18n',
|
||||
};
|
||||
|
||||
$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);
|
||||
if (!newJobsTimerRunning) {
|
||||
fetchNewJobs();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user