aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/routes/actions/index.js
diff options
context:
space:
mode:
authorcedricnjanga2018-04-03 10:44:47 -0700
committercedricnjanga2018-04-03 10:44:47 -0700
commit665f90e2b8e87a91700f687ded8e036b12178cc8 (patch)
treeb0c2f4540c615315fe9ced1e389bb96ec7afe262 /app/javascript/routes/actions/index.js
parentb274526124fb5e2242ff482ab504a7ae59dd817b (diff)
downloadchouette-core-665f90e2b8e87a91700f687ded8e036b12178cc8.tar.bz2
Refs #6383 Fix Stop point defautlt attributes6383-stop-point-default-attributes
Diffstat (limited to 'app/javascript/routes/actions/index.js')
-rw-r--r--app/javascript/routes/actions/index.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/javascript/routes/actions/index.js b/app/javascript/routes/actions/index.js
index 5fbf5bce9..13b2d60b2 100644
--- a/app/javascript/routes/actions/index.js
+++ b/app/javascript/routes/actions/index.js
@@ -56,12 +56,7 @@ const actions = {
unselectMarker: (index) => ({
type: 'UNSELECT_MARKER',
index
- }),
- defaultAttribute: (attribute, stopAreaKind) => {
- if (attribute !== '') return attribute
- if (stopAreaKind === undefined) return ''
- return stopAreaKind === "commercial" ? "normal" : "forbidden"
- }
+ })
}
module.exports = actions