Browse Source

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

Johan Ahlen 8 years ago
parent
commit
61447727ca
1 changed files with 1 additions and 1 deletions
  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() });
           });