Commit 4078f8255e2dc9ba52bcf023a8afa97f16fa96e0

Authored by Marcelo Puebla
1 parent c44a00eefe
Exists in develop

Fix

Al mostrar componente de cancelar compra en pago-electronico y pago-tarjeta
src/app/services/inactive-screen/inactive-screen.service.ts
... ... @@ -13,7 +13,11 @@ export class InactiveScreenService {
13 13  
14 14 startTimeOutInactividad() {
15 15 this.timerReposo = setTimeout(() => {
16   - this.router.navigate(['cancelar-compra']);
  16 + if (this.router.url === '/pago-electronico' || this.router.url === '/pago-tarjeta') {
  17 + this.startTimeOutInactividad();
  18 + } else {
  19 + this.router.navigate(['cancelar-compra']);
  20 + }
17 21 }, 90000);
18 22 }
19 23 }