Преглед изворни кода

extra fix for percent sign in aliases and plothover, #506

Torkel Ödegaard пре 11 година
родитељ
комит
f422c84414
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/app/directives/grafanaGraph.js

+ 1 - 1
src/app/directives/grafanaGraph.js

@@ -339,7 +339,7 @@ function (angular, $, kbn, moment, _) {
             if (seriesInfo.alias) {
             if (seriesInfo.alias) {
               group = '<small style="font-size:0.9em;">' +
               group = '<small style="font-size:0.9em;">' +
                 '<i class="icon-circle" style="color:'+item.series.color+';"></i>' + ' ' +
                 '<i class="icon-circle" style="color:'+item.series.color+';"></i>' + ' ' +
-                (decodeURIComponent(seriesInfo.alias)) +
+                seriesInfo.alias +
               '</small><br>';
               '</small><br>';
             } else {
             } else {
               group = kbn.query_color_dot(item.series.color, 15) + ' ';
               group = kbn.query_color_dot(item.series.color, 15) + ' ';