mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 06:35:53 +08:00
fix: workflow as tool always outdated (#8798)
This commit is contained in:
parent
008e0efeb0
commit
6df14e50b2
@ -65,7 +65,7 @@ const WorkflowToolConfigureButton = ({
|
|||||||
else {
|
else {
|
||||||
if (item.type === 'paragraph' && param.type !== 'string')
|
if (item.type === 'paragraph' && param.type !== 'string')
|
||||||
return true
|
return true
|
||||||
if (param.type !== item.type && !(param.type === 'string' && item.type === 'paragraph'))
|
if (item.type === 'text-input' && param.type !== 'string')
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user