homepage delete whoami

This commit is contained in:
annampak 2017-12-19 10:39:21 +02:00
parent 5012479689
commit 9d8b82aa13
1 changed files with 1 additions and 8 deletions

View File

@ -24,14 +24,7 @@ export class HomepageComponent implements OnInit{
}
ngOnInit() {
this.serverService.whoami().subscribe(
userInfo => {
this.userInfo = userInfo;
},
error => {
}
);
ngOnInit() {
this.dashBoardService.getStatistics().subscribe(results =>{
//let data = results['payload'];