private subs = new Subscription();
constructor(
- private router: Router,
+ public router: Router,
private summaryService: SummaryService,
private taskManagerService: TaskManagerService,
private faviconService: FaviconService
ngOnDestroy() {
this.subs.unsubscribe();
}
-
- isDashboardPage() {
- return this.router.url === '/dashboard';
- }
}