From b571c112c31c57cc6d05d97975d8e82a5ba6c2bd Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Tue, 18 Feb 2025 00:05:52 +0800 Subject: [PATCH] Add page into query keys of workflow runs query (#1779) --- .../src/routes/workflows/hooks/useWorkflowRunsQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts b/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts index 36aeae63..e03095cf 100644 --- a/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts +++ b/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts @@ -26,7 +26,7 @@ function useWorkflowRunsQuery({ const credentialGetter = useCredentialGetter(); return useQuery>({ - queryKey: ["workflowRuns", { statusFilters }, workflowPermanentId], + queryKey: ["workflowRuns", { statusFilters }, workflowPermanentId, page], queryFn: async () => { const client = await getClient(credentialGetter); const params = new URLSearchParams();