Add validation for mobile

This commit is contained in:
Peter Maquiran
2021-07-05 15:37:27 +01:00
parent ba2af92a6d
commit 9d7b7e541b
2 changed files with 69 additions and 73 deletions
@@ -62,14 +62,14 @@ export class DespachosPage implements OnInit {
}
ngOnInit() {
//Inicializar segment
this.segment = "despachos";
this.LoadList();
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == this.router.url) {
this.doRefresh();
}
});
//Inicializar segment
this.segment = "despachos";
this.LoadList();
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == this.router.url) {
this.doRefresh();
}
});
}