Added initial dashboard display
Uses mock API
This commit is contained in:
parent
7c55779a0f
commit
ee253f263f
4 changed files with 37 additions and 8 deletions
|
@ -35,6 +35,10 @@ export class LoginComponent implements OnInit {
|
|||
console.log('Logged out!');
|
||||
}
|
||||
);
|
||||
|
||||
this.api.graph_data(undefined).subscribe(
|
||||
result => { console.log(result) }
|
||||
)
|
||||
|
||||
// get return url from route parameters or default to '/'
|
||||
this.returnUrl = this.route.snapshot.queryParams['returnUrl'] || '/';
|
||||
|
|
Reference in a new issue