Parcourir la source

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

Romain Rigaux il y a 8 ans
Parent
commit
d872748

+ 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);
-    //  }
+      }
     });
   }