From 79d4db85419c68c3dea88fe290b01881b4844262 Mon Sep 17 00:00:00 2001 From: wellCh4n Date: Thu, 20 Feb 2025 15:40:43 +0800 Subject: [PATCH] fix: support selecting yaml extension when importing dsl file (#14088) --- web/app/components/app/create-from-dsl-modal/uploader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/app/create-from-dsl-modal/uploader.tsx b/web/app/components/app/create-from-dsl-modal/uploader.tsx index beb2b4b1a0..2a94d0a7e0 100644 --- a/web/app/components/app/create-from-dsl-modal/uploader.tsx +++ b/web/app/components/app/create-from-dsl-modal/uploader.tsx @@ -97,7 +97,7 @@ const Uploader: FC = ({ style={{ display: 'none' }} type="file" id="fileUploader" - accept='.yml' + accept='.yaml,.yml' onChange={fileChangeHandle} />