diff options
| author | Zog | 2018-01-09 16:39:44 +0100 |
|---|---|---|
| committer | Zog | 2018-01-09 16:39:44 +0100 |
| commit | 2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e (patch) | |
| tree | b2b50919a882539046fd629322c8a91de6b3b2dd /app/javascript/vehicle_journeys/containers | |
| parent | a0e05d7b2d9be6f52d88f365739ca2eab406a2f2 (diff) | |
| download | chouette-core-2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e.tar.bz2 | |
Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selects
When the number of possible values is low (<10), display the values
right away, don't use an Ajax query
Diffstat (limited to 'app/javascript/vehicle_journeys/containers')
| -rw-r--r-- | app/javascript/vehicle_journeys/containers/Filters.js | 3 | ||||
| -rw-r--r-- | app/javascript/vehicle_journeys/containers/tools/AddVehicleJourney.js | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/vehicle_journeys/containers/Filters.js b/app/javascript/vehicle_journeys/containers/Filters.js index bec3527f4..a41c599f7 100644 --- a/app/javascript/vehicle_journeys/containers/Filters.js +++ b/app/javascript/vehicle_journeys/containers/Filters.js @@ -5,7 +5,8 @@ import Filters from '../components/Filters' const mapStateToProps = (state) => { return { filters: state.filters, - pagination: state.pagination + pagination: state.pagination, + missions: state.missions, } } diff --git a/app/javascript/vehicle_journeys/containers/tools/AddVehicleJourney.js b/app/javascript/vehicle_journeys/containers/tools/AddVehicleJourney.js index 5da0bd3e9..0f4a0ea7d 100644 --- a/app/javascript/vehicle_journeys/containers/tools/AddVehicleJourney.js +++ b/app/javascript/vehicle_journeys/containers/tools/AddVehicleJourney.js @@ -9,6 +9,7 @@ const mapStateToProps = (state, ownProps) => { vehicleJourneys: state.vehicleJourneys, status: state.status, stopPointsList: state.stopPointsList, + missions: state.missions, } } |
