From 0daf33f497eb64cc10e879263be1fe7c98ee56e0 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 5 Aug 2021 14:03:03 +0100 Subject: [PATCH] improve --- src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts index 4995b5c90..2bb7481ac 100644 --- a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts +++ b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts @@ -495,7 +495,7 @@ export class PedidoPage implements OnInit { goBack() { this.location.back(); - /* if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){ + if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){ if (window.innerWidth <= 700) { this.router.navigate(['/home/gabinete-digital/pendentes']); } @@ -528,7 +528,7 @@ export class PedidoPage implements OnInit { } this.router.navigate(['/home/gabinete-digital'], navigationExtras); } - } */ + } } }