|
|
|
@ -204,6 +204,7 @@ export abstract class MonitorIndicatorStakeholderBaseComponent extends Indicator
|
|
|
|
|
//clear numbers when filters change
|
|
|
|
|
this.numberResults.clear();
|
|
|
|
|
let urls: Map<string, [number, number][]> = new Map<string, [number, number][]>();
|
|
|
|
|
console.log(this.activeSubCategory.numbers);
|
|
|
|
|
this.activeSubCategory.numbers.forEach((section, i) => {
|
|
|
|
|
section.indicators.forEach((number, j) => {
|
|
|
|
|
if (this.hasPermission(number.visibility)) {
|
|
|
|
@ -255,10 +256,6 @@ export abstract class MonitorIndicatorStakeholderBaseComponent extends Indicator
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected navigateToError() {
|
|
|
|
|
this._router.navigate([this.properties.errorLink], {queryParams: {'page': this._router.url}});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getUrlByStakeHolder(indicatorPath: IndicatorPath) {
|
|
|
|
|
return this.sanitizer.bypassSecurityTrustResourceUrl(
|
|
|
|
|
this.indicatorUtils.getChartUrl(indicatorPath.source, this.getFullUrl(indicatorPath)));
|
|
|
|
|