Merge pull request #611 from betagouv/bug-atm

🐛 Gros bug de pourcentage sur le taux ATMP entreprises > 150 sal
pull/616/head
Mael 2019-07-19 18:47:35 +00:00 committed by GitHub
commit 9772429e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class ReactSelectWrapper extends Component {
submit,
options,
submitOnChange = option => {
option.text = option['Taux net'].replace(',', '.')
option.text = +option['Taux net'].replace(',', '.') / 100
onChange(option.text)
submit()
},