Ver Fonte

HUE-7934 [importer] Unselecting has Header checkbox has no effect

Romain Rigaux há 7 anos atrás
pai
commit
b1b0938

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

@@ -1195,9 +1195,8 @@ ${ assist.assistPanel() }
 
         for (var i = 0; i < type.args.length; i++) {
           self[type.args[i].name].subscribe(function(newVal) {
-            if (newVal) { // Double call on non File selection otherwise
-              viewModel.createWizard.guessFieldTypes();
-            }
+            // Update the data preview when tweaking Format options on step 1
+            viewModel.createWizard.guessFieldTypes();
           });
         }
       }