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

This commit is contained in:
Shuchang Zheng
2025-02-18 00:05:52 +08:00
committed by GitHub
parent 0116f56113
commit b571c112c3

View File

@@ -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();