Skip to content

Commit

Permalink
EPMRPP-83058 | Close Modal after clicking the 'Delete' button (#3796)
Browse files Browse the repository at this point in the history
Co-authored-by: maria-hambardzumian <[email protected]>
  • Loading branch information
maria-hambardzumian and MariaHambardzumian authored Apr 11, 2024
1 parent e697b28 commit 75da269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/main/modal/modalLayout/modalLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class ModalLayout extends Component {
closeModalWithOk = () => {
const { closeConfirmation } = this.props;
if (closeConfirmation?.confirmSubmit) {
this.closeModalWithConfirmation();
this.closeModal();
} else {
this.setState({ shown: false });
}
Expand Down

0 comments on commit 75da269

Please sign in to comment.