Selaa lähdekoodia

fix: workflow as tool always outdated (#8798)

非法操作 7 kuukautta sitten
vanhempi
commit
6df14e50b2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
         }
       }