diff options
| author | cedricnjanga | 2018-04-03 10:44:47 -0700 |
|---|---|---|
| committer | cedricnjanga | 2018-04-03 10:44:47 -0700 |
| commit | 665f90e2b8e87a91700f687ded8e036b12178cc8 (patch) | |
| tree | b0c2f4540c615315fe9ced1e389bb96ec7afe262 /app/javascript/routes/components/StopPoint.js | |
| parent | b274526124fb5e2242ff482ab504a7ae59dd817b (diff) | |
| download | chouette-core-665f90e2b8e87a91700f687ded8e036b12178cc8.tar.bz2 | |
Refs #6383 Fix Stop point defautlt attributes6383-stop-point-default-attributes
Diffstat (limited to 'app/javascript/routes/components/StopPoint.js')
| -rw-r--r-- | app/javascript/routes/components/StopPoint.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/routes/components/StopPoint.js b/app/javascript/routes/components/StopPoint.js index 368ec8261..808e739a6 100644 --- a/app/javascript/routes/components/StopPoint.js +++ b/app/javascript/routes/components/StopPoint.js @@ -19,14 +19,14 @@ export default function StopPoint(props, {I18n}) { </div> <div> - <select className='form-control' value={defaultAttribute(props.value.for_boarding, props.value.stoparea_kind)} id="for_boarding" onChange={props.onSelectChange}> + <select className='form-control' value={props.value.for_boarding} id="for_boarding" onChange={props.onSelectChange}> <option value="normal">{I18n.t('routes.edit.stop_point.boarding.normal')}</option> <option value="forbidden">{I18n.t('routes.edit.stop_point.boarding.forbidden')}</option> </select> </div> <div> - <select className='form-control' value={defaultAttribute(props.value.for_alighting, props.value.stoparea_kind)} id="for_alighting" onChange={props.onSelectChange}> + <select className='form-control' value={props.value.for_alighting} id="for_alighting" onChange={props.onSelectChange}> <option value="normal">{I18n.t('routes.edit.stop_point.alighting.normal')}</option> <option value="forbidden">{I18n.t('routes.edit.stop_point.alighting.forbidden')}</option> </select> |
