瀏覽代碼

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

Johan Ahlen 8 年之前
父節點
當前提交
e7a8b94b8b
共有 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) {