diff options
| author | cedricnjanga | 2018-04-03 10:44:47 -0700 |
|---|---|---|
| committer | cedricnjanga | 2018-04-03 10:44:47 -0700 |
| commit | 665f90e2b8e87a91700f687ded8e036b12178cc8 (patch) | |
| tree | b0c2f4540c615315fe9ced1e389bb96ec7afe262 /app/javascript/routes/actions/index.js | |
| parent | b274526124fb5e2242ff482ab504a7ae59dd817b (diff) | |
| download | chouette-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.js | 7 |
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 |
