mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 20:55:58 +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])
|
}, [inputs, setInputs])
|
||||||
|
|
||||||
const filterVar = useCallback((varPayload: Var) => {
|
const filterVar = useCallback((varPayload: Var) => {
|
||||||
return varPayload.type !== VarType.file
|
return varPayload.type === VarType.file
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user