Browse Source

HUE-8989 [editor] Fix missing editor assistant panel

Johan Ahlen 6 years ago
parent
commit
145eff605b

+ 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') {