Skip to content

Commit eb408bd

Browse files
committed
fix: In the execution details, the display order of the child nodes of the loop body is incorrect
1 parent 0a5a05f commit eb408bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@
10011001
<template
10021002
v-for="(cLoop, cIndex) in Object.values(
10031003
data.loop_node_data?.[currentLoopNode] || [],
1004-
)"
1004+
).sort((x: any, y: any) => (x.index || 0) - (y.index || 0))"
10051005
:key="cIndex"
10061006
>
10071007
<ExecutionDetailCard :data="cLoop"></ExecutionDetailCard>

0 commit comments

Comments
 (0)