From 6b062dc2fb0fbbe4b28e142b8b7fa2fe93557edd Mon Sep 17 00:00:00 2001 From: argirok Date: Thu, 14 Dec 2023 13:57:39 +0200 Subject: [PATCH] [angular-16-irish-monitor | DONE | CHANGED] Import indicators: allow for stakeholder type country to not having parameters for the current stakeholder --- monitor-admin/topic/indicators.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor-admin/topic/indicators.component.ts b/monitor-admin/topic/indicators.component.ts index 1a5eb5d2..17e046c5 100644 --- a/monitor-admin/topic/indicators.component.ts +++ b/monitor-admin/topic/indicators.component.ts @@ -1298,7 +1298,7 @@ export class IndicatorsComponent extends IndicatorStakeholderBaseComponent imple pos: 'bottom-right' }); } - if (noValidParams > 0) { + if (noValidParams > 0 && !(this.stakeholder.type == 'country')) { let noValidMessage = "Some indicators couldn't be generated properly. Please make sure chart data is for the current stakeholder."; if (this.stakeholder.defaultId == null) { noValidMessage = "Some indicators couldn't be generated properly. Stakeholders based on this profile may not inherit the data correctly.";