[angular-16-irish-monitor | DONE | CHANGED] Import indicators: allow for stakeholder type country to not having parameters for the current stakeholder
This commit is contained in:
parent
837e121684
commit
6b062dc2fb
|
@ -1298,7 +1298,7 @@ export class IndicatorsComponent extends IndicatorStakeholderBaseComponent imple
|
||||||
pos: 'bottom-right'
|
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.";
|
let noValidMessage = "Some indicators couldn't be generated properly. Please make sure chart data is for the current stakeholder.";
|
||||||
if (this.stakeholder.defaultId == null) {
|
if (this.stakeholder.defaultId == null) {
|
||||||
noValidMessage = "Some indicators couldn't be generated properly. Stakeholders based on this profile may not inherit the data correctly.";
|
noValidMessage = "Some indicators couldn't be generated properly. Stakeholders based on this profile may not inherit the data correctly.";
|
||||||
|
|
Loading…
Reference in New Issue