Skip to content

Commit

Permalink
feat: add support for array types in available variable list (langgen…
Browse files Browse the repository at this point in the history
  • Loading branch information
YidaHu authored and JunXu01 committed Nov 9, 2024
1 parent be396dd commit a26cfdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const EditBody: FC<Props> = ({
const { availableVars, availableNodes } = useAvailableVarList(nodeId, {
onlyLeafNodeVar: false,
filterVar: (varPayload: Var) => {
return [VarType.string, VarType.number, VarType.secret].includes(varPayload.type)
return [VarType.string, VarType.number, VarType.secret, VarType.arrayNumber, VarType.arrayString].includes(varPayload.type)
},
})

Expand Down

0 comments on commit a26cfdf

Please sign in to comment.