{#if showFootprint} {/if} {#each metrics as metric (metric)} {/each} {#if $jobsStore.error} {:else} {#each jobs as job (job)} {:else} {/each} {/if} {#if $jobsStore.fetching || !$jobsStore.data} {/if}
Job Info Job Footprint {metric} {#if $initialized} ({clusters .map((cluster) => cluster.metricConfig.find((m) => m.name == metric), ) .filter((m) => m != null) .map( (m) => (m.unit?.prefix ? m.unit?.prefix : "") + (m.unit?.base ? m.unit?.base : ""), ) // Build unitStr .reduce( (arr, unitStr) => arr.includes(unitStr) ? arr : [...arr, unitStr], [], ) // w/o this, output would be [unitStr, unitStr] .join(", ")}) {/if}

{$jobsStore.error.message}

No jobs found
{#if usePaging} { if (detail.itemsPerPage != itemsPerPage) { updateConfiguration(detail.itemsPerPage.toString(), detail.page); } else { jobs = [] paging = { itemsPerPage: detail.itemsPerPage, page: detail.page }; } }} /> {/if}