浏览代码

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

jdesjean 7 年之前
父节点
当前提交
5dfaae9a48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

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