fix: support selecting yaml extension when importing dsl file (#14088)
This commit is contained in:
parent
9c42626772
commit
79d4db8541
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue