mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Consume finished timestamp from websocket message when it's available to update the relevant row in the templates list.
This commit is contained in:
parent
6d6d99bcf8
commit
3234f246db
@ -138,6 +138,10 @@ function ListTemplatesController(
|
||||
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