From 48675f20247a8da6d7f3a0705ba884cda0821ea2 Mon Sep 17 00:00:00 2001 From: Kerem Yilmaz Date: Tue, 24 Sep 2024 12:16:01 -0700 Subject: [PATCH] Refetch workflow run on mount if running (#880) --- skyvern-frontend/src/routes/workflows/WorkflowRun.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx index be2d2dfc..74f32746 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) {