Browse Source

HUE-6086 [assist] Fix js error when opening a complex type

Johan Ahlen 8 years ago
parent
commit
e7a8b94b8b

+ 2 - 2
desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js

@@ -158,8 +158,8 @@ var AssistDbEntry = (function () {
   };
 
   AssistDbEntry.prototype.getComplexName = function () {
-    var entry = self;
-    var sourceType = self.sourceType;
+    var entry = this;
+    var sourceType = entry.sourceType;
     var parts = [];
     while (entry != null) {
       if (entry.definition.isTable || entry.definition.isView) {