Эх сурвалжийг харах

[importer] not calling guess format just after clicking importer icon (#2902)

Ayush Goyal 3 жил өмнө
parent
commit
81758f4d63

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

@@ -2096,7 +2096,7 @@ ${ commonheader(_("Importer"), "indexer", user, request, "60px") | n,unicode }
       self.kafkaClusters = ko.observableArray(['localhost', 'demo.gethue.com']);
       self.kafkaSelectedCluster = ko.observable();
       self.kafkaSelectedCluster.subscribe(function(val) {
-        if (val) {
+        if (val && self.inputFormat() == 'stream') {
           wizard.guessFormat();
         }
       });