소스 검색

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

Romain Rigaux 8 년 전
부모
커밋
d872748313
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);
-    //  }
+      }
     });
   }