瀏覽代碼

HUE-8989 [editor] Fix missing editor assistant panel

Johan Ahlen 6 年之前
父節點
當前提交
145eff605b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/js/ko/components/assist/ko.rightAssistPanel.js

+ 1 - 1
desktop/core/src/desktop/js/ko/components/assist/ko.rightAssistPanel.js

@@ -146,7 +146,7 @@ class RightAssistPanel {
       // TODO: Get these dynamically from langref and functions modules when moved to webpack
       this.functionsTabAvailable(type === 'hive' || type === 'impala' || type === 'pig');
       this.langRefTabAvailable(type === 'hive' || type === 'impala');
-      this.editorAssistantTabAvailable(window.EMBEDDED_ASSISTANT_ENABLED && isSqlDialect);
+      this.editorAssistantTabAvailable(isSqlDialect);
       this.dashboardAssistantTabAvailable(type === 'dashboard');
       this.schedulesTabAvailable(false);
       if (type !== 'dashboard') {