dnet45/modules/uoa-repository-dashboard-gui/trunk/src/app/pages/dashboard/dashboard.component.ts @ 55671
1 |
import { Component, OnInit } from '@angular/core'; |
---|---|
2 |
import { AuthenticationService } from '../../services/authentication.service'; |
3 |
|
4 |
@Component ({ |
5 |
selector: 'app-dashboard', |
6 |
templateUrl: 'dashboard.component.html' |
7 |
})
|
8 |
|
9 |
export class DashboardComponent implements OnInit { |
10 |
|
11 |
constructor(private authService: AuthenticationService) { } |
12 |
|
13 |
ngOnInit() {} |
14 |
|
15 |
getIsUserLoggedIn() { |
16 |
return this.authService.getIsUserLoggedIn(); |
17 |
}
|
18 |
}
|
- « Previous
- 1
- 2
- Next »