feat: remove file and file[] restriction in code node (#17382)
This commit is contained in:
parent
4902ddaf87
commit
b3f4e90862
2 changed files with 6 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ const useConfig = (id: string, payload: CodeNodeType) => {
|
|||
})
|
||||
|
||||
const filterVar = useCallback((varPayload: Var) => {
|
||||
return [VarType.string, VarType.number, VarType.secret, VarType.object, VarType.array, VarType.arrayNumber, VarType.arrayString, VarType.arrayObject].includes(varPayload.type)
|
||||
return [VarType.string, VarType.number, VarType.secret, VarType.object, VarType.array, VarType.arrayNumber, VarType.arrayString, VarType.arrayObject, VarType.file, VarType.arrayFile].includes(varPayload.type)
|
||||
}, [])
|
||||
|
||||
// single run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue