tweak(ui): 'is_recent' -> 'has_been_opened'

This commit is contained in:
psychedelicious
2025-03-12 08:08:34 +10:00
parent 07313e429d
commit aa71d0c817

View File

@@ -39,7 +39,7 @@ const useInfiniteQueryAry = () => {
categories,
query: debouncedQuery,
tags: categories.length === 1 && categories.includes('default') ? tags : [],
is_recent: showOpenedWorkflowsOnly || undefined,
has_been_opened: showOpenedWorkflowsOnly || undefined,
} satisfies Parameters<typeof useListWorkflowsInfiniteInfiniteQuery>[0];
}, [orderBy, direction, categories, debouncedQuery, tags, showOpenedWorkflowsOnly]);