diff --git a/web/frontend/src/Jobs.root.svelte b/web/frontend/src/Jobs.root.svelte index 1e7f96d..1c13777 100644 --- a/web/frontend/src/Jobs.root.svelte +++ b/web/frontend/src/Jobs.root.svelte @@ -8,7 +8,7 @@ --> @@ -85,13 +100,13 @@ - @@ -99,11 +114,11 @@ { + {filterPresets} + showFilter={!showCompare} + matchedJobs={showCompare? matchedCompareJobs: matchedListJobs} + applyFilters={(detail) => { selectedCluster = detail.filters[0]?.cluster ? detail.filters[0].cluster.eq : null; @@ -122,13 +137,13 @@ {presetProject} bind:authlevel bind:roles - on:set-filter={({ detail }) => filterComponent.updateFilters(detail)} + setFilter={(filter) => filterComponent.updateFilters(filter)} /> {/if} {#if !showCompare} - { + { jobList.refreshJobs() jobList.refreshAllMetrics() }} /> @@ -136,7 +151,7 @@ - {#if !showCompare && selectedJobs.length != 0} -