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

[importer_direct_upload] filtering the is_sql interpreters only

ayush.goyal 4 жил өмнө
parent
commit
48c3021bc7

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

@@ -1794,7 +1794,7 @@ ${ commonheader(_("Importer"), "indexer", user, request, "60px") | n,unicode }
       });
 
       self.interpreters = ko.pureComputed(function() {
-        return window.getLastKnownConfig().app_config.editor.interpreters;
+        return window.getLastKnownConfig().app_config.editor.interpreters.filter(function (interpreter) { return interpreter.is_sql });
       });
       self.interpreter = ko.observable(vm.sourceType);
       self.interpreter.subscribe(function(val) {