diff options
| author | Zog | 2018-03-14 17:01:24 +0100 | 
|---|---|---|
| committer | Zog | 2018-03-14 17:01:24 +0100 | 
| commit | 4c84e00c87d7aaa4263c8b18f3ab7481a47951f1 (patch) | |
| tree | 2e74531f25de83e6818c3b9e34abd9a81b36f5e5 | |
| parent | 6aa3c52c786717a709b1069583b5ffc75ef0b698 (diff) | |
| download | chouette-core-4c84e00c87d7aaa4263c8b18f3ab7481a47951f1.tar.bz2 | |
Fix bug on VJs editor when invalid journeys are already in db.
| -rw-r--r-- | app/javascript/vehicle_journeys/components/VehicleJourney.js | 7 | 
1 files changed, 2 insertions, 5 deletions
| diff --git a/app/javascript/vehicle_journeys/components/VehicleJourney.js b/app/javascript/vehicle_journeys/components/VehicleJourney.js index b469cfecf..a667bf8aa 100644 --- a/app/javascript/vehicle_journeys/components/VehicleJourney.js +++ b/app/javascript/vehicle_journeys/components/VehicleJourney.js @@ -203,11 +203,8 @@ export default class VehicleJourney extends Component {                        onBlur={(e) => {this.props.onUpdateTime(e, i, this.props.index, "minute", true,  this.props.filters.toggleArrivals, true)}}                        value={vj.departure_time['minute']}                        /> -                  </span> -                </div> -                {vj.errors && <div className="errors"> -                  {vj.errors} -                </div>} +                </span> +              </div>              </div>            </div>          )} | 
