mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03: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];
|
||||
if (recentJob.id === msg.unified_job_id) {
|
||||
recentJob.status = msg.status;
|
||||
if (msg.finished) {
|
||||
recentJob.finished = msg.finished;
|
||||
template.last_job_run = msg.finished;
|
||||
}
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user