Explorar el Código

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

Johan Ahlen hace 9 años
padre
commit
61447727ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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() });
           });