From 3f6f4b09ce6d52155febede545d9c56d240162d5 Mon Sep 17 00:00:00 2001 From: caichi <54824604+caichi-t@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:12:42 +0900 Subject: [PATCH] fix(web): disable closing modal when uploading asset (#1222) fix: disable closing when uploading --- web/src/components/molecules/Asset/UploadModal/UploadModal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/components/molecules/Asset/UploadModal/UploadModal.tsx b/web/src/components/molecules/Asset/UploadModal/UploadModal.tsx index 7a98854d2d..e2e57bcb7b 100644 --- a/web/src/components/molecules/Asset/UploadModal/UploadModal.tsx +++ b/web/src/components/molecules/Asset/UploadModal/UploadModal.tsx @@ -56,6 +56,8 @@ const UploadModal: React.FC = ({ centered open={visible} onCancel={onCancel} + closable={!uploading} + maskClosable={!uploading} footer={ <>