浏览代码

HUE-7017 [importer] Revert breaking of assist table refresh

Romain Rigaux 8 年之前
父节点
当前提交
d872748
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      desktop/core/src/desktop/static/desktop/js/assist/assistDbSource.js

+ 2 - 2
desktop/core/src/desktop/static/desktop/js/assist/assistDbSource.js

@@ -304,11 +304,11 @@ var AssistDbSource = (function () {
     };
 
     huePubSub.subscribe('assist.db.refresh', function (options) {
-    //  if (['hive', 'impala'].indexOf(self.sourceType) !== -1) { // options.sourceTypes.
+      if (options.sourceTypes.indexOf(self.sourceType) !== -1) {
         window.setTimeout(function () {
           self.reload(options.allCacheTypes);
         }, 0);
-    //  }
+      }
     });
   }