Explorar o código

HUE-7004 [notebook] Fix special character typos

Special charaters were causing mako.e.CompileException: Unicode decode
operation of encoding 'ascii' failed at line: 0 char: 0
make[3]: *** [compile-locale] Error 1

(cherry picked from commit afe5da96daa31be0137f91cc4e151029e3616a4d)
krish %!s(int64=8) %!d(string=hai) anos
pai
achega
29cbef1

+ 8 - 8
desktop/core/src/desktop/templates/config_ko_components.mako

@@ -431,14 +431,14 @@ from desktop.views import _ko
         var self = this;
 
         self.values = ko.observableArray(params.values().filter(function (value) {
-          return value.key && value.key() && value.value && value.value();
-        }));
-
-        self.values.subscribe(function (newValues) {
-          params.values(self.values().filter(function (value) {
-            return value.key && value.key() && value.value && value.value();
-          }))
-        });
+          return value.key && value.key() && value.value && value.value();
+        }));
+
+        self.values.subscribe(function (newValues) {
+          params.values(self.values().filter(function (value) {
+            return value.key && value.key() && value.value && value.value();
+          }))
+        });
 
         self.options = typeof params.property.options !== 'undefined' ? $.map(params.property.options(), function (option) {
           return { value: option }