Skip to content

Commit

Permalink
fix: unable to set destroyOnClose on ModalTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed May 26, 2022
1 parent e9007e3 commit 1987b2c
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 1987b2c

Please sign in to comment.