Преглед изворни кода

fix: tool's file input display string (#10887)

非法操作 пре 8 месеци
родитељ
комит
f3af7b5f35
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      web/app/components/workflow/nodes/tool/components/input-var-list.tsx

+ 2 - 0
web/app/components/workflow/nodes/tool/components/input-var-list.tsx

@@ -46,6 +46,8 @@ const InputVarList: FC<Props> = ({
   const paramType = (type: string) => {
     if (type === FormTypeEnum.textNumber)
       return 'Number'
+    else if (type === FormTypeEnum.file)
+      return 'File'
     else if (type === FormTypeEnum.files)
       return 'Files'
     else if (type === FormTypeEnum.select)