浏览代码

HUE-5980 [metastore] Fix js error when opening tables from the assist

Johan Ahlen 8 年之前
父节点
当前提交
d33a9b9e2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/metastore/src/metastore/static/metastore/js/metastore.ko.js

+ 1 - 1
apps/metastore/src/metastore/static/metastore/js/metastore.ko.js

@@ -765,7 +765,7 @@ var MetastoreViewModel = (function () {
     });
 
     huePubSub.subscribe("assist.table.selected", function (tableDef) {
-      loadTableDef(tableDef, function () {
+      self.loadTableDef(tableDef, function () {
         huePubSub.publish('metastore.url.change')
       });
     });