소스 검색

HUE-4667 [editor] Geo plotting of states is case sensitive

Enrico Berti 9 년 전
부모
커밋
d44e9b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.charts.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.charts.js

@@ -648,7 +648,7 @@
 
         $(_data).each(function (cnt, item) {
           addToLegend(getHighestCategoryValue(cnt, item));
-          var _place = typeof item.label == "String" ? item.label.toUpperCase() : item.label;
+          var _place = typeof item.label == "string" ? item.label.toUpperCase() : item.label;
           if (_place != null) {
             if (_scope != "world" && _scope != "usa" && _scope != "europe" && _place.indexOf(".") == -1) {
               _place = HueGeo.getISOAlpha2(_scope) + "." + _place;