Преглед изворни кода

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

Johan Ahlen пре 8 година
родитељ
комит
e7a8b94
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      desktop/core/src/desktop/static/desktop/js/assist/assistDbEntry.js

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