diff options
| author | cedricnjanga | 2017-11-09 14:15:56 +0100 |
|---|---|---|
| committer | cedricnjanga | 2017-11-09 14:15:56 +0100 |
| commit | 205d69f10d7011246b331dbf9c0e504b322ff377 (patch) | |
| tree | 51d63325cfe026d01e9b6f33254d8bb8a0e186d5 /app/javascript | |
| parent | 3ae18486a563e634ef555372131abaf84ae1a892 (diff) | |
| download | chouette-core-205d69f10d7011246b331dbf9c0e504b322ff377.tar.bz2 | |
Fix VJ shift button disable on condition
Diffstat (limited to 'app/javascript')
| -rw-r--r-- | app/javascript/vehicle_journeys/components/tools/ShiftVehicleJourney.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/vehicle_journeys/components/tools/ShiftVehicleJourney.js b/app/javascript/vehicle_journeys/components/tools/ShiftVehicleJourney.js index 175106ac5..ebfbed9eb 100644 --- a/app/javascript/vehicle_journeys/components/tools/ShiftVehicleJourney.js +++ b/app/javascript/vehicle_journeys/components/tools/ShiftVehicleJourney.js @@ -34,7 +34,7 @@ export default class ShiftVehicleJourney extends Component { <li className='st_action'> <button type='button' - disabled={(actions.getSelected(this.props.vehicleJourneys).length > 1 || this.props.disabled)} + disabled={(actions.getSelected(this.props.vehicleJourneys).length != 1 || this.props.disabled)} data-toggle='modal' data-target='#ShiftVehicleJourneyModal' onClick={this.props.onOpenShiftModal} |
