fix disabled-false-positives, add info if no metrics selected

This commit is contained in:
Christoph Kluge
2026-02-02 10:38:05 +01:00
parent b7bd8210e5
commit f2285e603b
4 changed files with 45 additions and 39 deletions

View File

@@ -32,7 +32,7 @@
let {
matchedListJobs = $bindable(0),
selectedJobs = $bindable([]),
metrics = getContext("cc-config").metricConfig_jobListMetrics,
metrics = [],
sorting = { field: "startTime", type: "col", order: "DESC" },
showFootprint = false,
filterBuffer = [],
@@ -109,7 +109,7 @@
let paging = $derived({ itemsPerPage, page });
const plotWidth = $derived.by(() => {
return Math.floor(
(tableWidth - jobInfoColumnWidth) / (metrics.length + (showFootprint ? 1 : 0)) - 10,
(tableWidth - jobInfoColumnWidth) / (metrics.length + (showFootprint ? 2 : 1)) - 10,
);
});
let jobsStore = $derived(queryStore({