|
@@ -24,7 +24,9 @@ function CloneProjectModal({
|
|
|
show={show}
|
|
show={show}
|
|
|
onHide={onHide}
|
|
onHide={onHide}
|
|
|
id="clone-project-modal"
|
|
id="clone-project-modal"
|
|
|
- backdrop="static"
|
|
|
|
|
|
|
+ // backdrop="static" will disable closing the modal by clicking
|
|
|
|
|
+ // outside of the modal element
|
|
|
|
|
+ backdrop={inFlight ? 'static' : undefined}
|
|
|
>
|
|
>
|
|
|
<CloneProjectModalContent
|
|
<CloneProjectModalContent
|
|
|
handleHide={onHide}
|
|
handleHide={onHide}
|