Explorar o código

HUE-5629 [editor] Suppress all API errors in the new autocomplete dropdown

Johan Ahlen %!s(int64=9) %!d(string=hai) anos
pai
achega
c971cd8372

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/sqlAutocompleter3.js

@@ -1311,6 +1311,7 @@ var SqlAutocompleter3 = (function () {
       self.apiHelper.fetchNavOptTopTables({
         database: self.activeDatabase,
         sourceType: self.snippet.type(),
+        silenceErrors: true,
         successCallback: function (data) {
           var popularityIndex = {};
           data.top_tables.forEach(function (topTable) {