From 79227258e871d0d23852c2d228c70754ec6e8f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Danyi?= Date: Wed, 12 Sep 2018 18:01:28 +0200 Subject: [PATCH] * dashboard start slide navigation button removed when team is not selected * watcher table icons changed --- src/app/admin/dashboard/dashboard.component.html | 2 +- src/app/admin/dashboard/dashboard.component.ts | 8 +++++++- src/app/display/watchers/watchers.component.html | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) mode change 100644 => 100755 src/app/admin/dashboard/dashboard.component.ts diff --git a/src/app/admin/dashboard/dashboard.component.html b/src/app/admin/dashboard/dashboard.component.html index 90fcc62..8fecb97 100755 --- a/src/app/admin/dashboard/dashboard.component.html +++ b/src/app/admin/dashboard/dashboard.component.html @@ -2,7 +2,7 @@

Dashboard

- +
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 @@ - - - + + +
AssigneeIssueLast commentJIRALast comment