فهرست منبع

fix: support selecting yaml extension when importing dsl file (#14088)

wellCh4n 2 ماه پیش
والد
کامیت
79d4db8541
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      web/app/components/app/create-from-dsl-modal/uploader.tsx

+ 1 - 1
web/app/components/app/create-from-dsl-modal/uploader.tsx

@@ -97,7 +97,7 @@ const Uploader: FC<Props> = ({
         style={{ display: 'none' }}
         type="file"
         id="fileUploader"
-        accept='.yml'
+        accept='.yaml,.yml'
         onChange={fileChangeHandle}
       />
       <div ref={dropRef}>