Skip to content

Automate browser based workflows with AI

Refetch workflow run on mount if running (#880)

Kerem Yilmaz48675f20247a
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
index be2d2dfc5..74f327465 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
@@ -80,6 +80,7 @@ function WorkflowRun() {
return false;
},
placeholderData: keepPreviousData,
+ refetchOnMount: workflowRun?.status === Status.Running,
});
function handleNavigate(event: React.MouseEvent, id: string) {