summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-08-31 01:21:43 +0200
committerJules Laplace <julescarbon@gmail.com>2018-08-31 01:21:43 +0200
commitf48c40ce0c6924ac46b2bdc3164308e5a6cf3136 (patch)
tree790e258505a2fc8283237e96c04210fbe4275d72 /app
parent73a93a3ae0fdb24719b22b3362a0b2f9af27f0da (diff)
deploy bundle
Diffstat (limited to 'app')
-rw-r--r--app/client/common/selectGroup.component.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/client/common/selectGroup.component.js b/app/client/common/selectGroup.component.js
index b653fdf..5c1af51 100644
--- a/app/client/common/selectGroup.component.js
+++ b/app/client/common/selectGroup.component.js
@@ -20,11 +20,12 @@ class SelectGroup extends Component {
const groupName = group.name
const children = group.options.map(key => {
let name = key.length < 2 ? key.toUpperCase() : key
- let value = key.replace(/_/g, ' ')
+ name = name.replace(/_/g, ' ')
+ let value = key
lastValue = value
return (
<option value={value} key={value}>
- {value}
+ {name}
</option>
)
})