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
tmp-better-average-line
Oliver Giles 2 years ago
parent 99e2e62906
commit e7defa9f15

@ -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);
}
});

Loading…
Cancel
Save