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

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