瀏覽代碼

HUE-8784 [metadata] Fix refresh at root level of table browser.

(cherry picked from commit 12d9cc017aa55dda54d9a0181aa4a70f6ececd2b)
jdesjean 6 年之前
父節點
當前提交
c03fe20455
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/metastore/src/metastore/static/metastore/js/metastore.model.js

+ 2 - 2
apps/metastore/src/metastore/static/metastore/js/metastore.model.js

@@ -255,8 +255,8 @@ var MetastoreNamespace = (function () {
 
   MetastoreNamespace.prototype.reload = function () {
     var self = this;
-    if (!self.reloading() && self.catalogEntry()) {
-      self.reloading(true);
+    if (!self.loadingDatabases() && self.catalogEntry()) {
+      self.loadingDatabases(true);
       // Clear will publish when done
       self.catalogEntry().clearCache({ invalidate: self.sourceType === 'impala' ? 'invalidate' : 'cache' });
     }