瀏覽代碼

HUE-7695 [editor] Limit suggested values for the syntax checker

Johan Ahlen 8 年之前
父節點
當前提交
9a85e8d9cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -3956,7 +3956,7 @@
               return a.distance - b.distance
             });
             token.syntaxError = {
-              expected: weightedExpected
+              expected: weightedExpected.slice(0, 50)
             };
             token.notFound = true;