Bläddra i källkod

HUE-8759 [importer] Fix import to index, importing to hive instead.

jdesjean 6 år sedan
förälder
incheckning
945098b
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 3 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -2260,7 +2260,9 @@ ${ assist.assistPanel() }
         }
       });
       wizard.prefill.target_type.subscribe(function(newValue) {
-        self.outputFormat(newValue || 'table');
+        setTimeout(function() { // target_type gets updated by the router (onePageViewModelModel.js) and delaying allow the notification to go through
+          self.outputFormat(newValue || 'table');
+        },0);
         if (newValue === 'database') {
           vm.currentStep(2);
         } else {