Skip to content

Automate browser based workflows with AI

fix wrong screenshot (#4400)

Celal Zamanoglu1e314ce149ed
diff --git a/skyvern-frontend/src/routes/tasks/detail/hooks/useActions.ts b/skyvern-frontend/src/routes/tasks/detail/hooks/useActions.ts
index 2a60fbac1..3185a0c00 100644
--- a/skyvern-frontend/src/routes/tasks/detail/hooks/useActions.ts
+++ b/skyvern-frontend/src/routes/tasks/detail/hooks/useActions.ts
@@ -115,7 +115,7 @@ function useActions({ id }: Props): {
return actions;
})
.flat()
- : taskActions?.map((action) => {
+ : taskActions?.map((action, index) => {
return {
reasoning: action.reasoning ?? "",
confidence: action.confidence_float ?? undefined,
@@ -125,7 +125,7 @@ function useActions({ id }: Props): {
action.status === Status.Completed ||
action.status === Status.Skipped,
stepId: action.step_id ?? "",
- index: action.action_order ?? 0,
+ index: index,
created_by: action.created_by,
};
});