mirror of
https://github.com/ohwgiles/laminar.git
synced 2026-03-02 03:40:21 +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:
@@ -487,7 +487,7 @@ const All = templateId => {
|
||||
state.jobs[idx] = job;
|
||||
else {
|
||||
// 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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user