Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: in iteration node picker may show the wrong var type (#5435)

Joel7e3f19403156
diff --git a/web/app/components/workflow/nodes/_base/components/variable/utils.ts b/web/app/components/workflow/nodes/_base/components/variable/utils.ts
index 3909ecb5937..b06f85ef5bd 100644
--- a/web/app/components/workflow/nodes/_base/components/variable/utils.ts
+++ b/web/app/components/workflow/nodes/_base/components/variable/utils.ts
@@ -344,8 +344,6 @@ export const getVarType = ({
}
if (valueSelector[1] === 'index')
return VarType.number
-
- return VarType.string
}
const isSystem = isSystemVar(valueSelector)
const startNode = availableNodes.find((node: any) => {