[angular-16-irish-monitor | CHANGED]: Add .hostedby in datasource indicators generator.

This commit is contained in:
Konstantinos Triantafyllou 2024-01-19 13:44:02 +02:00
parent e1f6549e89
commit 017b54f57c
1 changed files with 1 additions and 1 deletions

View File

@ -872,7 +872,7 @@ export class IndicatorUtils {
let replacedValue = this.replaceIndexValues(gfilter["values"][0], stakeholder, indicatorPath.parameters);
if(replacedValue) { // don't proceed in replacement if no replaced value matches
if ((gfilter["field"].indexOf(".datasource.name") != -1 || gfilter["field"].indexOf(".HostedBy datasource") != -1)||
(gfilter["field"].indexOf(".datasource.id") != -1)) {
(gfilter["field"].indexOf(".datasource.id") != -1) || (gfilter["field"].indexOf(".hostedby") != -1)) {
gfilter["values"][0] = replacedValue;
}
}