diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-08-31 01:21:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-08-31 01:21:43 +0200 |
| commit | f48c40ce0c6924ac46b2bdc3164308e5a6cf3136 (patch) | |
| tree | 790e258505a2fc8283237e96c04210fbe4275d72 /app/client/common | |
| parent | 73a93a3ae0fdb24719b22b3362a0b2f9af27f0da (diff) | |
deploy bundle
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/selectGroup.component.js | 5 |
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> ) }) |
