Browse Source

HUE-3966 [core] Error message when adding “Queue” to spark properties

Johan Ahlen 9 năm trước cách đây
mục cha
commit
9c5dcde

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

@@ -334,7 +334,7 @@ from desktop.views import _ko
       <select placeholder="${ _('Key') }" data-bind="selectize: $.map($parent.options(), function (option) { return { value: option } }), value: value, options: $.map($parent.options(), function (option) { return { value: option } }), optionsText: 'value', optionsValue: 'value'"></select>
     </div>
     <!-- /ko -->
-    <!-- ko if: typeof property === 'undefined' || typeof property.options() === 'undefined' || property.options().length === 0 -->
+    <!-- ko if: typeof property === 'undefined' || typeof property.options === 'undefined' || property.options().length === 0 -->
     <input class="input" type="text" data-bind="textInput: value, valueUpdate:'afterkeydown'" />
     <!-- /ko -->
   </script>