From 07a1b35e1e531373905aaccf89d1131f133df00c Mon Sep 17 00:00:00 2001 From: jfrer Date: Fri, 28 Jun 2024 12:06:50 +0200 Subject: [PATCH] fix: readd missing comparision --- src/components/workflows/timeline/TimelineFilters.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/workflows/timeline/TimelineFilters.vue b/src/components/workflows/timeline/TimelineFilters.vue index d15c3e6..eb5c562 100644 --- a/src/components/workflows/timeline/TimelineFilters.vue +++ b/src/components/workflows/timeline/TimelineFilters.vue @@ -153,7 +153,7 @@ const hasSomeSelectedDateRange = (gt: GroundTruth) => { const hasSomeSelectedWorkflow = (gt: GroundTruth) => { const gtRuns = workflowsStore.getRuns(gt.id) return gtRuns.some((gtRun) => { - return selectedWorkflows.value.findIndex(({ value }) => (value === mapGtId(gtRun.metadata.ocr_workflow.id))) + return selectedWorkflows.value.findIndex(({ value }) => (value === mapGtId(gtRun.metadata.ocr_workflow.id))) > -1 }) }