fix: workflow as tool always outdated (#8798)

pull/8803/head
非法操作 2 years ago committed by GitHub
parent 008e0efeb0
commit 6df14e50b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -65,7 +65,7 @@ const WorkflowToolConfigureButton = ({
else {
if (item.type === 'paragraph' && param.type !== 'string')
return true
if (param.type !== item.type && !(param.type === 'string' && item.type === 'paragraph'))
if (item.type === 'text-input' && param.type !== 'string')
return true
}
}

Loading…
Cancel
Save