Skip to content
Snippets Groups Projects
Commit 07f92e45 authored by Larisa Andrici's avatar Larisa Andrici
Browse files

Merge branch 'MenuCountry-improvement' into 'develop'

fix(menuCountry doesn't return anything when value is not a country):

See merge request !224
parents d85333b3 6710b5cd
No related branches found
No related tags found
3 merge requests!233S26 updates,!230S26 Updates,!224fix(menuCountry doesn't return anything when value is not a country):
......@@ -99,7 +99,7 @@ export default compose(
},
onEnter: ({ handleSelect, options, cursor }) => event => {
if (event.which === 13) {
handleSelect(options[cursor].value)()
handleSelect(get(options[cursor], 'value'))()
}
},
handleKeyDown: ({ setCursor, options }) => event => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment