浏览代码

[editor] Avoid sqlAnalyzerProvider.getSqlAnalyzer is not a function

Romain Rigaux 4 年之前
父节点
当前提交
c442deaac6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/js/apps/editor/components/aceEditor/AceEditor.vue

+ 1 - 1
desktop/core/src/desktop/js/apps/editor/components/aceEditor/AceEditor.vue

@@ -515,7 +515,7 @@
         };
 
         if ((<hueWindow>window).ENABLE_PREDICT) {
-          attachPredictTypeahead(editor, executor.value.connector(), sqlAnalyzerProvider);
+          attachPredictTypeahead(editor, executor.value.connector(), sqlAnalyzerProvider.value);
         }
 
         let placeholderVisible = false;