소스 검색

HUE-6361 [editor] Fix active statement location in Impala

Johan Ahlen 9 년 전
부모
커밋
61447727ca
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

@@ -3628,7 +3628,7 @@
 
 
       var statementSubscription = huePubSub.subscribe('editor.active.statement.changed', function (statementDetails) {
-        if (self.snippet.type() === 'hive' || snippet.snippet.type() === 'impala') {
+        if (self.snippet.type() === 'hive' || self.snippet.type() === 'impala') {
           whenWorkerIsReady(function () {
             aceSqlWorker.postMessage({ statementDetails: statementDetails, type: self.snippet.type() });
           });