This commit is contained in:
Peter Maquiran
2021-07-17 19:12:13 +01:00
parent 6664dfed73
commit 841a0967a9
3 changed files with 9 additions and 5 deletions
@@ -87,8 +87,8 @@ export class DespachoPage implements OnInit {
else {
let navigationExtras: NavigationExtras = {
queryParams: {
"pendentes": true,
}
"pendentes": true,
}
}
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
}
@@ -157,6 +157,7 @@ export class PedidoPage implements OnInit {
try {
this.toastService.badRequest('Processo não encontrado')
this.goBack()
this.close()
} catch (e) {
window.history.back();
}
@@ -495,7 +496,7 @@ export class PedidoPage implements OnInit {
}
else {
if (window.innerWidth <= 800) {
this.router.navigate(['/home/gabinete-digital/pedidos']);
this.router.navigate(['/home/gabinete-digital/pedidos']);
}
else {