File tree Expand file tree Collapse file tree
ui/src/components/execution-detail-card Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11331133 </el-radio-group >
11341134 <template
11351135 v-for =" (cLoop , cIndex ) in Object .values (
1136- data .loop_node_data ?.[currentLoopNode ] || [],
1137- ).sort ((x : any , y : any ) => (x .index || 0 ) - (y .index || 0 )) "
1136+ data .loop_node_data ?.[currentLoopNode ] || []).sort (
1137+ (x : any , y : any ) => (x .index || 0 ) - (y .index || 0 )
1138+ ) "
11381139 :key =" cIndex "
11391140 >
11401141 <ExecutionDetailCard :data =" cLoop " :type =" type " ></ExecutionDetailCard >
14111412 {{ $t('aiChat.executionDetails.title') }}
14121413 </h5 >
14131414 <div class =" p-8-12 border-t-dashed lighter" >
1414- <template v-for =" (cLoop , cIndex ) in data .details " :key =" cIndex " >
1415+ <template
1416+ v-for =" (cLoop , cIndex ) in Object .values (
1417+ data .details ?? {}).sort (
1418+ (a : any , b : any ) => (a ?.index ?? 0 ) - (b ?.index ?? 0 )
1419+ ) "
1420+ :key =" cLoop ?.index ?? cIndex "
1421+ >
14151422 <ExecutionDetailCard :data =" cLoop " :type =" type " ></ExecutionDetailCard >
14161423 </template >
14171424 </div >
You can’t perform that action at this time.
0 commit comments