diff options
Diffstat (limited to 'app/client/common/selectGroup.component.js')
| -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> ) }) |
