Skip to content

Commit

Permalink
fix: unable to set destroyOnClose on ModalTrigger (apache#20201)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie authored and philipher29 committed Jun 9, 2022
1 parent 38fecf8 commit 9bfc43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const CustomModal = ({
mask={shouldShowMask}
draggable={draggable}
resizable={resizable}
destroyOnClose={destroyOnClose || resizable || draggable}
destroyOnClose={destroyOnClose}
{...rest}
>
{children}
Expand Down

0 comments on commit 9bfc43f

Please sign in to comment.