Migrate job view stats table

This commit is contained in:
Christoph Kluge
2025-06-04 11:28:45 +02:00
parent 927e25c72c
commit 5e696c10d5
3 changed files with 126 additions and 94 deletions

View File

@@ -129,7 +129,7 @@
{:else}
<StatsTable
hosts={job.resources.map((r) => r.hostname).sort()}
data={$scopedStats?.data?.scopedJobStats}
jobStats={$scopedStats?.data?.scopedJobStats}
{selectedMetrics}
/>
{/if}
@@ -142,6 +142,7 @@
cluster={job.cluster}
subCluster={job.subCluster}
configName="job_view_nodestats_selectedMetrics"
preInitialized
applyMetrics={(newMetrics) =>
selectedMetrics = [...newMetrics]
}