diff --git a/resources/scripts/hoc/asModal.tsx b/resources/scripts/hoc/asModal.tsx index 81027f5d3..1e680fe33 100644 --- a/resources/scripts/hoc/asModal.tsx +++ b/resources/scripts/hoc/asModal.tsx @@ -43,7 +43,7 @@ function asModal
(modalProps?: ExtendedModalProps | ((props: P componentDidUpdate (prevProps: Readonly
) { if (prevProps.visible && !this.props.visible) { // noinspection JSPotentiallyInvalidUsageOfThis - this.setState({ visible: false }); + this.setState({ visible: false, showSpinnerOverlay: false }); } else if (!prevProps.visible && this.props.visible) { // noinspection JSPotentiallyInvalidUsageOfThis this.setState({ render: true, visible: true });