mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -355,7 +355,8 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
openPedidosPage(segment:string){
|
openPedidosPage(segment:string){
|
||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
if( window.innerWidth <= 800) {
|
if( window.innerWidth <= 800) {
|
||||||
this.openPedidoList();
|
//this.openPedidoList();
|
||||||
|
this.router.navigate(['/home/gabinete-digital/pedidos']);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
this.segment = segment;
|
this.segment = segment;
|
||||||
@@ -368,7 +369,8 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
openDespachosPage(segment:string){
|
openDespachosPage(segment:string){
|
||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
this.openDespachoList();
|
//this.openDespachoList();
|
||||||
|
this.router.navigate(['/home/gabinete-digital/despachos']);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
let navigationExtras: NavigationExtras = {queryParams: {"despachos": true,}};
|
let navigationExtras: NavigationExtras = {queryParams: {"despachos": true,}};
|
||||||
@@ -380,7 +382,8 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
openDespachosPrPage(segment:string) {
|
openDespachosPrPage(segment:string) {
|
||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
this.openDespachoListPr();
|
//this.openDespachoListPr();
|
||||||
|
this.router.navigate(['/home/gabinete-digital/despachos-pr']);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
let navigationExtras: NavigationExtras = {queryParams: {"despachospr": true,}};
|
let navigationExtras: NavigationExtras = {queryParams: {"despachospr": true,}};
|
||||||
|
|||||||
Reference in New Issue
Block a user