mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
Consume finished timestamp on org templates list when available via websocket message
This commit is contained in:
@@ -33,6 +33,10 @@ export default ['$scope', '$stateParams', 'Rest', 'GetBasePath', '$state', 'OrgJ
|
|||||||
const recentJob = template.summary_fields.recent_jobs[i];
|
const recentJob = template.summary_fields.recent_jobs[i];
|
||||||
if (recentJob.id === msg.unified_job_id) {
|
if (recentJob.id === msg.unified_job_id) {
|
||||||
recentJob.status = msg.status;
|
recentJob.status = msg.status;
|
||||||
|
if (msg.finished) {
|
||||||
|
recentJob.finished = msg.finished;
|
||||||
|
template.last_job_run = msg.finished;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user