fix wrong screenshot (#4400)
This commit is contained in:
@@ -115,7 +115,7 @@ function useActions({ id }: Props): {
|
|||||||
return actions;
|
return actions;
|
||||||
})
|
})
|
||||||
.flat()
|
.flat()
|
||||||
: taskActions?.map((action) => {
|
: taskActions?.map((action, index) => {
|
||||||
return {
|
return {
|
||||||
reasoning: action.reasoning ?? "",
|
reasoning: action.reasoning ?? "",
|
||||||
confidence: action.confidence_float ?? undefined,
|
confidence: action.confidence_float ?? undefined,
|
||||||
@@ -125,7 +125,7 @@ function useActions({ id }: Props): {
|
|||||||
action.status === Status.Completed ||
|
action.status === Status.Completed ||
|
||||||
action.status === Status.Skipped,
|
action.status === Status.Skipped,
|
||||||
stepId: action.step_id ?? "",
|
stepId: action.step_id ?? "",
|
||||||
index: action.action_order ?? 0,
|
index: index,
|
||||||
created_by: action.created_by,
|
created_by: action.created_by,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user