소스 검색

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

Joel 10 달 전
부모
커밋
7e3f194031
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      web/app/components/workflow/nodes/_base/components/variable/utils.ts

+ 0 - 2
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) => {