mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
fe: fix display of first run of job
if it is still running and is the first known of its name to the frontend, special handling is needed
This commit is contained in:
parent
99e2e62906
commit
e7defa9f15
@ -487,7 +487,7 @@ const All = templateId => {
|
|||||||
state.jobs[idx] = job;
|
state.jobs[idx] = job;
|
||||||
else {
|
else {
|
||||||
// special case: first run of a job.
|
// special case: first run of a job.
|
||||||
state.jobs.unshift(j);
|
state.jobs.unshift(job);
|
||||||
state.jobs.sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0);
|
state.jobs.sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user