Fix change detection for integers on config interface
This commit is contained in:
parent
9299e5b614
commit
a5f8a53196
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ConfigView extends Class
|
|||
renderValueSelect: (item) =>
|
||||
h("select.input-select", {config_key: item.key, oninput: @handleInputChange},
|
||||
item.options.map (option) =>
|
||||
h("option", {selected: option.value == @values[item.key], value: option.value}, option.title)
|
||||
h("option", {selected: option.value.toString() == @values[item.key], value: option.value}, option.title)
|
||||
)
|
||||
|
||||
window.ConfigView = ConfigView
|
Loading…
Reference in a new issue