Browse Source

fix: crawl options max length can not set 0 (#7758)

Co-authored-by: Yi <yxiaoisme@gmail.com>
Joel 7 months ago
parent
commit
7541a492b7

+ 1 - 1
web/app/components/datasets/create/website/firecrawl/base/field.tsx

@@ -38,7 +38,7 @@ const Field: FC<Props> = ({
             popupContent={
               <div className='w-[200px]'>{tooltip}</div>
             }
-            popupClassName='relative top-[3px] w-3 h-3 ml-1'
+            triggerClassName='ml-0.5 w-4 h-4'
           />
         )}
       </div>

+ 1 - 1
web/app/components/datasets/create/website/firecrawl/base/input.tsx

@@ -9,7 +9,7 @@ type Props = {
   isNumber?: boolean
 }
 
-const MIN_VALUE = 1
+const MIN_VALUE = 0
 
 const Input: FC<Props> = ({
   value,