{#each metrics as metric (metric)} {/each} {#if $jobs.error} {:else if $jobs.fetching || !$jobs.data} {:else if $jobs.data && $initialized} {#each $jobs.data.jobs.items as job (job)} {:else} {/each} {/if}
Job Info {metric} {#if $initialized} ({clusters .map(cluster => cluster.metricConfig.find(m => m.name == metric)) .filter(m => m != null).map(m => m.unit) .reduce((arr, unit) => arr.includes(unit) ? arr : [...arr, unit], []) .join(', ')}) {/if}

{$jobs.error.message}

No jobs found
{ if (detail.itemsPerPage != itemsPerPage) { itemsPerPage = detail.itemsPerPage updateConfiguration({ name: "plot_list_jobsPerPage", value: itemsPerPage.toString() }).then(res => { if (res.error) console.error(res.error); }) } paging = { itemsPerPage: detail.itemsPerPage, page: detail.page } }} />