From 813384d3dad1b95ee19bddde542c34adf1de6eb8 Mon Sep 17 00:00:00 2001 From: James Barford-Evans Date: Wed, 15 Oct 2025 10:25:18 +0100 Subject: [PATCH] feat - show/hide jobs with a button --- site/frontend/src/pages/status_new/collector.vue | 9 ++++++++- site/frontend/src/pages/status_new/page.vue | 4 +--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/site/frontend/src/pages/status_new/collector.vue b/site/frontend/src/pages/status_new/collector.vue index 34c8b90c0..5eeed300a 100644 --- a/site/frontend/src/pages/status_new/collector.vue +++ b/site/frontend/src/pages/status_new/collector.vue @@ -21,6 +21,8 @@ const ACTIVE_FILTERS: Ref> = ref({ Failed: true, }); +const showJobs: Ref = ref(false); + function filterJobByStatus(status: string) { ACTIVE_FILTERS.value[status] = !ACTIVE_FILTERS.value[status]; } @@ -76,6 +78,10 @@ function ActiveStatus({collector}: {collector: CollectorConfig}) { ); } + +function toggleShowJobs() { + showJobs.value = !showJobs.value; +}