From 75da2697f264cb8862281dc536709eb5ec1ba7d4 Mon Sep 17 00:00:00 2001 From: maria-hambardzumian <164881199+maria-hambardzumian@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:14:33 +0400 Subject: [PATCH] EPMRPP-83058 | Close Modal after clicking the 'Delete' button (#3796) Co-authored-by: maria-hambardzumian --- app/src/components/main/modal/modalLayout/modalLayout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/main/modal/modalLayout/modalLayout.jsx b/app/src/components/main/modal/modalLayout/modalLayout.jsx index e8b1c41e93..926fc9574e 100644 --- a/app/src/components/main/modal/modalLayout/modalLayout.jsx +++ b/app/src/components/main/modal/modalLayout/modalLayout.jsx @@ -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 }); }