diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte index 33a38b1..b4913e6 100644 --- a/web/frontend/src/Job.root.svelte +++ b/web/frontend/src/Job.root.svelte @@ -50,7 +50,13 @@ ...(ccconfig[`job_view_polarPlotMetrics:${job.cluster}`] || ccconfig[`job_view_polarPlotMetrics`]), ...(ccconfig[`job_view_nodestats_selectedMetrics:${job.cluster}`] || ccconfig[`job_view_nodestats_selectedMetrics`])]) - startFetching(job, [...toFetch], job.numNodes > 2 ? ["node"] : ["node", "core"]) + // Select default Scopes to load + if (job.numAcc === 0) { // No Accels + startFetching(job, [...toFetch], job.numNodes > 2 ? ["node"] : ["node", "core"]) + } else { // Accels + startFetching(job, [...toFetch], job.numNodes > 2 ? ["node", "accelerator"] : ["node", "accelerator", "core"]) + } + isFetched = toFetch })