Browse Source

HUE-8758 [connector] Avoid js error when refreshing right assist

Editor v1 without connectors, livy SQL snippet
Romain 5 years ago
parent
commit
814e26cd7a

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

@@ -497,7 +497,7 @@ class AssistEditorContextPanel {
                                   sourceType: activeLocations.type,
                                   sourceType: activeLocations.type,
                                   namespace: activeLocations.namespace,
                                   namespace: activeLocations.namespace,
                                   compute: activeLocations.compute,
                                   compute: activeLocations.compute,
-                                  connector: this.connector(),
+                                  connector: self.connector,
                                   path: []
                                   path: []
                                 })
                                 })
                                 .done(sourceEntry => {
                                 .done(sourceEntry => {