fix: doc extract var type

This commit is contained in:
Joel 2024-09-10 15:16:27 +08:00
parent ea40b1dcb2
commit aa8499efac

View File

@ -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 {