Browse Source

HUE-7943 [editor] Variable list are not being refreshed

jdesjean 7 years ago
parent
commit
5dfaae9a48

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1255,7 +1255,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
             <!-- /ko -->
           <!-- /ko -->
           <!-- ko if: meta.type() == 'select' -->
-          <select data-bind="selectize: meta.options(), optionsText: 'text', optionsValue:'value', selectizeOptions: { create: true }, value: value, event: { 'keydown': $parent.onKeydownInVariable }"/>
+          <select data-bind="selectize: meta.options, optionsText: 'text', optionsValue:'value', selectizeOptions: { create: true }, value: value, event: { 'keydown': $parent.onKeydownInVariable }"/>
           <!-- /ko -->
         </div>
       </li>