Commit 893ac0067d6384c51c0f8da0a121afbf8fa0063f

Authored by Marcelo Puebla
Exists in develop

Merge branch 'develop' into 'develop'

Develop

See merge request !105
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 }