mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Consume finished timestamp on org templates list when available via websocket message
This commit is contained in:
parent
db43341f96
commit
d5dd3c521f
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user