Procházet zdrojové kódy

fix(influxdb) fix tag value autocomplete with upper case values, fixes #5399 (#5919)

cmartin0077 před 9 roky
rodič
revize
9c08d7aef5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/app/core/directives/metric_segment.js

+ 1 - 1
public/app/core/directives/metric_segment.js

@@ -113,7 +113,7 @@ function (_, $, coreModule) {
           if (str[0] === '/') { str = str.substring(1); }
           if (str[str.length - 1] === '/') { str = str.substring(0, str.length-1); }
           try {
-            return item.toLowerCase().match(str);
+            return item.toLowerCase().match(str.toLowerCase());
           } catch(e) {
             return false;
           }