aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/routes/reducers/stopPoints.js
diff options
context:
space:
mode:
authorcedricnjanga2018-03-15 12:41:29 -0700
committerJohan Van Ryseghem2018-03-29 11:28:28 +0200
commit1019debe93d776f0d38ae69099e6492a7dd4a87c (patch)
tree16903e673284d4d378f6794a58e7ed6ff4c9da40 /app/javascript/routes/reducers/stopPoints.js
parent23318bbe07b73cef50ec69d5e597386a116e2b82 (diff)
downloadchouette-core-1019debe93d776f0d38ae69099e6492a7dd4a87c.tar.bz2
Refs #6075 Change default attributes for stop areas
Diffstat (limited to 'app/javascript/routes/reducers/stopPoints.js')
-rw-r--r--app/javascript/routes/reducers/stopPoints.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/javascript/routes/reducers/stopPoints.js b/app/javascript/routes/reducers/stopPoints.js
index 0b42b504f..ba183d002 100644
--- a/app/javascript/routes/reducers/stopPoints.js
+++ b/app/javascript/routes/reducers/stopPoints.js
@@ -8,8 +8,8 @@ const stopPoint = (state = {}, action, length) => {
text: '',
index: length,
edit: true,
- for_boarding: 'normal',
- for_alighting: 'normal',
+ for_boarding: '',
+ for_alighting: '',
olMap: {
isOpened: false,
json: {}
@@ -68,6 +68,7 @@ const stopPoints = (state = [], action) => {
stoppoint_id: t.stoppoint_id,
text: action.text.text,
stoparea_id: action.text.stoparea_id,
+ stoparea_kind: action.text.stoparea_kind,
user_objectid: action.text.user_objectid,
latitude: action.text.latitude,
longitude: action.text.longitude,