From bfd19dfaf3941d47033e517db5dab280aa9e87f8 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 8 Nov 2022 16:37:44 +0200 Subject: [PATCH] Change description in numbers card in monitor dashboard. Fix infinite loop from last commit in error page. --- src/app/app.component.ts | 5 -- src/app/monitor/monitor.component.html | 72 +++++++++++--------------- src/app/monitor/monitor.component.ts | 1 - src/assets/common-assets | 2 +- 4 files changed, 32 insertions(+), 48 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6bc753f..ba74792 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -201,11 +201,6 @@ export class AppComponent implements OnInit, OnDestroy { } else { this.activeCategory = this.activeTopic.categories.find(category => this.isPublicOrIsMember(category.visibility)); } - if(!this.activeCategory) { - this.navigateToError(); - } - } else { - this.navigateToError(); } } diff --git a/src/app/monitor/monitor.component.html b/src/app/monitor/monitor.component.html index 8e266d8..13d8147 100644 --- a/src/app/monitor/monitor.component.html +++ b/src/app/monitor/monitor.component.html @@ -102,49 +102,39 @@
{{number.title}}
-
- -
{{indicator.name}}
-
- {{numberResults.get(i + '-' + j) | number}} - -- +
+
{{indicator.name}}
+
+ {{numberResults.get(i + '-' + j) | number}} + -- +
+
- - {{numberResults.get(i + '-' + j) | number}} - - -
-
-
-
- -
-
-

- {{indicator.description}} -

-

- {{indicator.additionalDescription}} -

-
-
+
+ +
+

+ {{indicator.description}} +

+

+ {{indicator.additionalDescription}} +

diff --git a/src/app/monitor/monitor.component.ts b/src/app/monitor/monitor.component.ts index 5185168..7372b41 100644 --- a/src/app/monitor/monitor.component.ts +++ b/src/app/monitor/monitor.component.ts @@ -78,7 +78,6 @@ export class MonitorComponent implements OnInit, OnDestroy { privateStakeholder = false; public keyword: UntypedFormControl; public statsUpdateDate: Date; - public stickyPageHeader: boolean = false; public showDescriptionOverlay: boolean[] = []; public isFullscreen: boolean = false; diff --git a/src/assets/common-assets b/src/assets/common-assets index 75433ae..2477972 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit 75433ae50ab42a5ad1aea2a26ec26c57e78e4a25 +Subproject commit 24779729b6f6bd4f099ed5645786b6452120d3d6