Start slideshow
diff --git a/src/app/admin/dashboard/dashboard.component.ts b/src/app/admin/dashboard/dashboard.component.ts
old mode 100644
new mode 100755
index c611a7e..e238f0b
--- a/src/app/admin/dashboard/dashboard.component.ts
+++ b/src/app/admin/dashboard/dashboard.component.ts
@@ -1,5 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
+import {SettingsService} from '../../shared/service/settings.service';
@Component({
selector: 'app-dashboard',
@@ -8,10 +9,15 @@ import { Title } from '@angular/platform-browser';
})
export class DashboardComponent implements OnInit {
- constructor(private titleService: Title) { }
+ constructor(private titleService: Title,
+ private settingService: SettingsService) { }
ngOnInit() {
this.titleService.setTitle('Dashboard : MTAStv');
}
+ get hasTeamSelected(): boolean {
+ return this.settingService.team.id !== null;
+ }
+
}
diff --git a/src/app/display/watchers/watchers.component.html b/src/app/display/watchers/watchers.component.html
index 4027b36..d930a5a 100755
--- a/src/app/display/watchers/watchers.component.html
+++ b/src/app/display/watchers/watchers.component.html
@@ -2,9 +2,9 @@
| Assignee | -Issue | -Last comment | ++ | JIRA | +Last comment |
|---|