fix: fix scope autoselect on jobview statstable

This commit is contained in:
Christoph Kluge
2023-11-29 10:42:32 +01:00
parent 782262b52e
commit aac3e7d2f4
2 changed files with 22 additions and 19 deletions

View File

@@ -93,7 +93,9 @@
startFetching(
job,
[...toFetch],
job.numNodes > 2 ? ["node"] : ["node", "core"]
job.numNodes > 2
? ["node"]
: ["node", "socket", "core"]
);
} else {
// Accels and not on node scope
@@ -102,7 +104,7 @@
[...toFetch],
job.numNodes > 2
? ["node", "accelerator"]
: ["node", "accelerator", "core"]
: ["node", "accelerator", "socket", "core"]
);
}
@@ -390,8 +392,6 @@
bind:this={statsTable}
job={$initq.data.job}
jobMetrics={$jobMetrics.data.jobMetrics}
accMetrics={accMetrics}
accNodeOnly={accNodeOnly}
/>
{/key}
{/if}