This commit is contained in:
tiago.kayaya
2021-05-19 10:07:06 +01:00
parent 36fccd1cd2
commit 330d7e66df
@@ -56,9 +56,13 @@ export class DespachosPage implements OnInit {
//Inicializar segment
this.segment = "despachos";
this.LoadList();
this.authService.userData$.subscribe((res:any)=>{
console.log(res);
});
/* this.authService.userData$.subscribe((res:any)=>{
//console.log(res);
}); */
let u = this.authService.userData$.toPromise();
console.log(u);
}
segmentChanged(ev: any) {
this.LoadList();