Ver código fonte

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

wellCh4n 2 meses atrás
pai
commit
79d4db8541

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