Skip to content

Automate browser based workflows with AI

Add page into query keys of workflow runs query (#1779)

Shuchang Zhengb571c112c31c
diff --git a/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts b/skyvern-frontend/src/routes/workflows/hooks/useWorkflowRunsQuery.ts
index 36aeae63c..e03095cf5 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<Array<WorkflowRunApiResponse>>({
- queryKey: ["workflowRuns", { statusFilters }, workflowPermanentId],
+ queryKey: ["workflowRuns", { statusFilters }, workflowPermanentId, page],
queryFn: async () => {
const client = await getClient(credentialGetter);
const params = new URLSearchParams();