mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
Added __y_label_trim as available var in link
Fix #147 . Flux (BETA) adds a blank space on `_y_label` and it breaks with link built when using the var. This PR add a new variable to be used on link and removes leading and trailing characters from `__y_label`
This commit is contained in:
committed by
Sergio Bengoechea Guerrero
parent
021633670a
commit
c234a49792
Vendored
+3
@@ -215,6 +215,9 @@ System.register(["d3", "jquery", "lodash"], function (_export, _context) {
|
||||
};
|
||||
scopedVars["__y_label"] = {
|
||||
value: yLabel
|
||||
};
|
||||
scopedVars["__y_label_trim"] = {
|
||||
value: yLabel.trim()
|
||||
}; // Grafana 7.0 compatible
|
||||
|
||||
scopedVars["__url_time_range"] = {
|
||||
|
||||
Reference in New Issue
Block a user