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