Browse Source

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

Johan Ahlen 8 years ago
parent
commit
d33a9b9e2d
1 changed files with 1 additions and 1 deletions
  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')
       });
     });