Skip to content

Commit

Permalink
fix(web): disable closing modal when uploading asset (#1222)
Browse files Browse the repository at this point in the history
fix: disable closing when uploading
  • Loading branch information
caichi-t authored and yk-eukarya committed Oct 1, 2024
1 parent d73ab66 commit 3f6f4b0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const UploadModal: React.FC<Props> = ({
centered
open={visible}
onCancel={onCancel}
closable={!uploading}
maskClosable={!uploading}
footer={
<>
<Button type="default" disabled={uploading} onClick={onCancel}>
Expand Down

0 comments on commit 3f6f4b0

Please sign in to comment.