Browse Source

fix: workflow as tool always outdated (#8798)

tags/0.9.0
非法操作 1 year ago
parent
commit
6df14e50b2
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/tools/workflow-tool/configure-button.tsx

+ 1
- 1
web/app/components/tools/workflow-tool/configure-button.tsx View File

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