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

pull/14100/head
wellCh4n 1 year ago committed by GitHub
parent 9c42626772
commit 79d4db8541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save