homepage delete whoami
This commit is contained in:
parent
5012479689
commit
9d8b82aa13
|
@ -24,14 +24,7 @@ export class HomepageComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.serverService.whoami().subscribe(
|
|
||||||
userInfo => {
|
|
||||||
this.userInfo = userInfo;
|
|
||||||
},
|
|
||||||
error => {
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dashBoardService.getStatistics().subscribe(results =>{
|
this.dashBoardService.getStatistics().subscribe(results =>{
|
||||||
//let data = results['payload'];
|
//let data = results['payload'];
|
||||||
|
|
Loading…
Reference in New Issue