From 7e3f194031561f464ed0b55af54a3946b293828b Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 20 Jun 2024 16:53:10 +0800 Subject: [PATCH] fix: in iteration node picker may show the wrong var type (#5435) --- .../workflow/nodes/_base/components/variable/utils.ts | 2 -- 1 file changed, 2 deletions(-) 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 3909ecb593..b06f85ef5b 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) => {