Skip to content

Commit

Permalink
fix: readd missing comparision
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrer committed Jun 28, 2024
1 parent bd67414 commit 07a1b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/workflows/timeline/TimelineFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}
Expand Down

0 comments on commit 07a1b35

Please sign in to comment.