Fix change detection for integers on config interface

This commit is contained in:
shortcutme 2019-11-20 14:08:02 +01:00
parent 9299e5b614
commit a5f8a53196
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

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