فهرست منبع

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

Johan Ahlen 9 سال پیش
والد
کامیت
c971cd8372
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/sqlAutocompleter3.js

+ 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) {