diff options
| author | Zog | 2017-12-28 11:11:20 +0100 | 
|---|---|---|
| committer | Zog | 2017-12-28 11:11:20 +0100 | 
| commit | d6b14504f350e4bf5de3d7a68928c433fef70de7 (patch) | |
| tree | 4e3e7d452ad61d74d4cf7566d6aad81930d716b8 | |
| parent | 2ae5c38f434a8d28885b13e048a4adc088544313 (diff) | |
| download | chouette-core-5433-show-journeys-name-in-editor.tar.bz2 | |
Refs #5433; Use `published_journey_name` instead of `comment` attribute5433-show-journeys-name-in-editor
| -rw-r--r-- | app/javascript/vehicle_journeys/components/VehicleJourney.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/javascript/vehicle_journeys/components/VehicleJourney.js b/app/javascript/vehicle_journeys/components/VehicleJourney.js index 31db10129..30b329896 100644 --- a/app/javascript/vehicle_journeys/components/VehicleJourney.js +++ b/app/javascript/vehicle_journeys/components/VehicleJourney.js @@ -68,7 +68,7 @@ export default class VehicleJourney extends Component {            }            >            <div className='strong mb-xs'>{this.props.value.short_id || '-'}</div> -          <div>{this.props.value.comment || '-'}</div> +          <div>{this.props.value.published_journey_name && this.props.value.published_journey_name != "non renseigné" ? this.props.value.published_journey_name : '-'}</div>            <div>{this.props.value.journey_pattern.short_id || '-'}</div>            <div>              {time_tables.slice(0,3).map((tt, i)=> | 
