From e70567e079201c4c3b19784c7de4aa25f650308e Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Wed, 17 Jun 2020 10:37:04 +0000 Subject: [PATCH] [Monitor Dashboard | Trunk]: Fix a bug with reordering and chart options. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@58952 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/topic/indicators.component.html | 8 ++++---- src/app/topic/indicators.component.ts | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/topic/indicators.component.html b/src/app/topic/indicators.component.html index 4ba7b57..35eceae 100644 --- a/src/app/topic/indicators.component.html +++ b/src/app/topic/indicators.component.html @@ -262,15 +262,15 @@
diff --git a/src/app/topic/indicators.component.ts b/src/app/topic/indicators.component.ts index 895f91b..1f260dd 100644 --- a/src/app/topic/indicators.component.ts +++ b/src/app/topic/indicators.component.ts @@ -73,7 +73,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV * Toggles */ public grid: boolean = true; - private editing: boolean = false; + public editing: boolean = false; /** Safe Urls*/ public safeUrls: Map = new Map([]); @@ -122,6 +122,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV if (this.canEdit) { if (changes.topicIndex || changes.categoryIndex || changes.subcategoryIndex) { this.buildFilters(); + this.initReorder(); } this.filterCharts(); this.filterNumbers();