Explorar o código

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

jdesjean %!s(int64=6) %!d(string=hai) anos
pai
achega
945098b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 {