mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 19:15:55 +08:00
fix: doc extract var type
This commit is contained in:
parent
ea40b1dcb2
commit
aa8499efac
@ -21,7 +21,7 @@ const useConfig = (id: string, payload: DocExtractorNodeType) => {
|
||||
}, [inputs, setInputs])
|
||||
|
||||
const filterVar = useCallback((varPayload: Var) => {
|
||||
return varPayload.type !== VarType.file
|
||||
return varPayload.type === VarType.file
|
||||
}, [])
|
||||
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user