From c93c16a60d4eba457ccb9e62401ac78c7c67447f Mon Sep 17 00:00:00 2001 From: Salih Altun Date: Fri, 28 Feb 2025 17:59:36 +0300 Subject: [PATCH] Fix formatting sync in pills (#1856) --- skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx b/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx index 587fd408..e6b4cdf4 100644 --- a/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx +++ b/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx @@ -33,6 +33,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) { title: "Workflow Run Created", description: `Workflow run created successfully.`, }); + queryClient.invalidateQueries({ queryKey: ["workflowRuns"], }); @@ -42,6 +43,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) { queryClient.invalidateQueries({ queryKey: ["runs"], }); + navigate( `/workflows/${response.data.workflow_permanent_id}/${response.data.workflow_run_id}`, );