mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
add leg.reachable
This commit is contained in:
parent
965e1f9986
commit
6da1e80ef2
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ const createParseJourneyLeg = (profile, opt, data) => {
|
|||
origin: clone(locations[parseInt(pt.dep.locX)]) || null,
|
||||
destination: clone(locations[parseInt(pt.arr.locX)]),
|
||||
departure: dep,
|
||||
arrival: arr
|
||||
arrival: arr,
|
||||
reachable: !!pt.jny.isRchbl
|
||||
}
|
||||
|
||||
// todo: DRY with parseDeparture
|
||||
|
|
Loading…
Add table
Reference in a new issue