Explorar o código

HUE-9051 [frontend] Replace ES6 arrow function used outside babel

Johan Ahlen %!s(int64=6) %!d(string=hai) anos
pai
achega
685365a9ff

+ 1 - 1
desktop/core/src/desktop/templates/hue_ace_autocompleter.mako

@@ -591,7 +591,7 @@ from desktop.views import _ko
           };
 
           if (!self.active() || (!self.base || newBase.column !== self.base.column || newBase.row !== self.base.row)) {
-            self.autocompleter.autocomplete().then(() => {
+            self.autocompleter.autocomplete().then(function () {
               afterAutocomp();
               self.attach();
             }).catch(afterAutocomp);