fix wrong screenshot (#4400)

This commit is contained in:
Celal Zamanoglu
2026-01-07 00:40:42 +03:00
committed by GitHub
parent 39bf3c2237
commit 1e314ce149

View File

@@ -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,
};
});