diff --git a/src/app/services/inactive-screen/inactive-screen.service.ts b/src/app/services/inactive-screen/inactive-screen.service.ts index d9e8a6f..f95e838 100644 --- a/src/app/services/inactive-screen/inactive-screen.service.ts +++ b/src/app/services/inactive-screen/inactive-screen.service.ts @@ -13,7 +13,11 @@ export class InactiveScreenService { startTimeOutInactividad() { this.timerReposo = setTimeout(() => { - this.router.navigate(['cancelar-compra']); + if (this.router.url === '/pago-electronico' || this.router.url === '/pago-tarjeta') { + this.startTimeOutInactividad(); + } else { + this.router.navigate(['cancelar-compra']); + } }, 90000); } }