فهرست منبع

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