[master | DONE | CHANGED] Monitor - Indicators: minor update subtitle when there are filters applied, add title and clear all in selected filters above indicators
This commit is contained in:
parent
a6ea10fd90
commit
bedb7f013b
|
@ -491,7 +491,7 @@ export class IndicatorUtils {
|
||||||
replacedValue = stakeholder.index_shortName.toLowerCase();
|
replacedValue = stakeholder.index_shortName.toLowerCase();
|
||||||
}
|
}
|
||||||
if (key == "subtitle" && filterSubtitleText.length > 0) {
|
if (key == "subtitle" && filterSubtitleText.length > 0) {
|
||||||
replacedValue = replacedValue + ' - Filter by: ('+filterSubtitleText.join(", ") + ')';
|
replacedValue = replacedValue + (replacedValue.length > 0 ? ' - ':'') + ' Active filters: ('+filterSubtitleText.join(", ") + ')';
|
||||||
}
|
}
|
||||||
replacedUrl = replacedUrl.split(ChartHelper.prefix + key + ChartHelper.suffix).join(replacedValue)
|
replacedUrl = replacedUrl.split(ChartHelper.prefix + key + ChartHelper.suffix).join(replacedValue)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue