mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-04-20 23:23:56 +03:00
fix ÖBB 🐛
This commit is contained in:
parent
bcbc366497
commit
ae2007c9e2
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ const createParseMovement = (profile, opt, data) => {
|
||||||
res.nextStops = res.nextStops.filter(s => {
|
res.nextStops = res.nextStops.filter(s => {
|
||||||
if (s.station) {
|
if (s.station) {
|
||||||
s = s.station
|
s = s.station
|
||||||
if (s.type === 'stop' || s.type === 'station')
|
if (s.station.type === 'stop' || s.station.type === 'station') return true
|
||||||
}
|
}
|
||||||
return s.type === 'stop' || s.type === 'station'
|
return s.type === 'stop' || s.type === 'station'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue