Skip to content

Commit e1b3f47

Browse files
fix: loop node
1 parent 7af880f commit e1b3f47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@
173173
v-if="
174174
data.type == WorkflowType.AiChat ||
175175
data.type == WorkflowType.Question ||
176-
data.type == WorkflowType.Application || data.type == WorkflowType.IntentNode
176+
data.type == WorkflowType.Application ||
177+
data.type == WorkflowType.IntentNode
177178
"
178179
>
179180
<div class="card-never border-r-6" v-if="data.type !== WorkflowType.Application">
@@ -807,7 +808,7 @@
807808
<span class="color-secondary">
808809
{{ $t('views.applicationWorkflow.nodes.loopNode.loopArray.label') }}:</span
809810
>
810-
{{ data.value || '-' }}
811+
{{ data.loop_type === 'NUMBER' ? data.number : Object.keys(data.loop_node_data) || '-' }}
811812
</div>
812813
</div>
813814
<h5 class="p-8-12">

0 commit comments

Comments
 (0)