feat: add support for array types in available variable list (#7715)
This commit is contained in:
parent
26abbe8e5b
commit
3a67fc6c5a
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ const EditBody: FC<Props> = ({
|
||||||
const { availableVars, availableNodes } = useAvailableVarList(nodeId, {
|
const { availableVars, availableNodes } = useAvailableVarList(nodeId, {
|
||||||
onlyLeafNodeVar: false,
|
onlyLeafNodeVar: false,
|
||||||
filterVar: (varPayload: Var) => {
|
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)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue