diff options
| author | Zog | 2018-04-26 15:20:02 +0200 | 
|---|---|---|
| committer | Zog | 2018-04-26 15:20:02 +0200 | 
| commit | d6c119ecadb1c3e50e227b8ebbfb61405b1fbf72 (patch) | |
| tree | 3ec31486f3cf8c7b048bd56de9020602118fcdab /app/javascript | |
| parent | e69dfa80737402286adbfe6f29edae2efca36fd8 (diff) | |
| download | chouette-core-d6c119ecadb1c3e50e227b8ebbfb61405b1fbf72.tar.bz2 | |
Refs #6829; Fix Purchase Windows assignment in VJs editor6829-fix-vjs-editor
Diffstat (limited to 'app/javascript')
| -rw-r--r-- | app/javascript/vehicle_journeys/reducers/modal.js | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/app/javascript/vehicle_journeys/reducers/modal.js b/app/javascript/vehicle_journeys/reducers/modal.js index 75ab2f4ca..077e2f0d4 100644 --- a/app/javascript/vehicle_journeys/reducers/modal.js +++ b/app/javascript/vehicle_journeys/reducers/modal.js @@ -117,6 +117,9 @@ export default function modal(state = {}, action) {      case 'SELECT_TT_CALENDAR_MODAL':        newModalProps = _.assign({}, state.modalProps, {selectedTimetable : action.selectedItem})        return _.assign({}, state, {modalProps: newModalProps}) +    case 'SELECT_PURCHASE_WINDOW_MODAL': +      newModalProps = _.assign({}, state.modalProps, {selectedPurchaseWindow : action.selectedItem}) +      return _.assign({}, state, {modalProps: newModalProps})      case 'SELECT_CONSTRAINT_ZONE_MODAL':        let selectedConstraintZones = state.modalProps.selectedConstraintZones        let already_present = false | 
