Explorar el Código

fix: workflow as tool always outdated (#8798)

非法操作 hace 8 meses
padre
commit
6df14e50b2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/app/components/tools/workflow-tool/configure-button.tsx

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

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