From b40c8025766e818b18cec08481ae62dd0a89a543 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Mon, 27 Jan 2025 22:12:02 +0800 Subject: [PATCH] Disable rerun when v2 task is used (#1657) --- skyvern-frontend/src/routes/workflows/WorkflowRun.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx index 08128e77..c1dd602f 100644 --- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx +++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx @@ -126,6 +126,8 @@ function WorkflowRun() { }); } + const isTaskv2Run = workflowRun && workflowRun.observer_task !== null; + return (
@@ -211,7 +213,7 @@ function WorkflowRun() { )} - {workflowRunIsFinalized && ( + {workflowRunIsFinalized && !isTaskv2Run && (