diff --git a/src/app/core/services/http/http.service.ts b/src/app/core/services/http/http.service.ts index 22f4b8eb..4225b4a6 100644 --- a/src/app/core/services/http/http.service.ts +++ b/src/app/core/services/http/http.service.ts @@ -231,7 +231,7 @@ export class HttpService { } async triggerLogoutConfirmationAlert(result) { - if(this.modalController.getTop()) { + if(await this.modalController.getTop()) { await this.modalController.dismiss() } let msg = result.data.message;