Added initial dashboard display

Uses mock API
This commit is contained in:
piratefinn 2017-06-19 17:20:21 +01:00
parent 7c55779a0f
commit ee253f263f
4 changed files with 37 additions and 8 deletions

View file

@ -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'] || '/';