diff options
| author | Luc Donnet | 2018-04-13 17:35:44 +0200 | 
|---|---|---|
| committer | GitHub | 2018-04-13 17:35:44 +0200 | 
| commit | c1801cab30268f70547061435e02126155b07916 (patch) | |
| tree | 19cb01956307e86631083622913248f55110b247 /app/javascript/routes/components/StopPoint.js | |
| parent | 3864c37d9d07113baeb05c3d16ca646f8e49abaa (diff) | |
| parent | 665f90e2b8e87a91700f687ded8e036b12178cc8 (diff) | |
| download | chouette-core-c1801cab30268f70547061435e02126155b07916.tar.bz2 | |
Merge pull request #439 from af83/6383-stop-point-default-attributes
Refs #6383 Fix Stop point defautlt 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 768d069c0..908e97263 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> | 
