mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +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…
Reference in New Issue
Block a user