aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript
diff options
context:
space:
mode:
authorZog2018-04-06 06:59:57 +0200
committerZog2018-04-06 06:59:57 +0200
commitccd2581f1a4fb88d2324df190fa58a5c07e2afa0 (patch)
tree54a7ddd68e84ca27c443b06c3fa27c166a2510d9 /app/javascript
parent25473075be6b31632295c95696891368b5bc26f4 (diff)
downloadchouette-core-ccd2581f1a4fb88d2324df190fa58a5c07e2afa0.tar.bz2
Refs #6311; Fix Purchase Windows assignment6311-fix-calendars-assignment
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/vehicle_journeys/actions/index.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/javascript/vehicle_journeys/actions/index.js b/app/javascript/vehicle_journeys/actions/index.js
index e00e9b1b0..537dcfc06 100644
--- a/app/javascript/vehicle_journeys/actions/index.js
+++ b/app/javascript/vehicle_journeys/actions/index.js
@@ -113,14 +113,9 @@ const actions = {
type : 'EDIT_PURCHASE_WINDOWS_VEHICLEJOURNEY_MODAL',
vehicleJourneys
}),
- selectPurchaseWindowsModal: (selectedWindow) =>({
+ selectPurchaseWindowsModal: (selectedItem) =>({
type: 'SELECT_PURCHASE_WINDOW_MODAL',
- selectedItem:{
- id: selectedWindow.id,
- name: selectedWindow.name,
- color: selectedWindow.color,
- objectid: selectedWindow.objectid
- }
+ selectedItem
}),
addSelectedPurchaseWindow: () => ({
type: 'ADD_SELECTED_PURCHASE_WINDOW'