mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-04-30 11:40:04 +03:00
fix departures()/arrivals() without opt.direction 🐛
This commit is contained in:
parent
84c7582a33
commit
dd5e436892
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const formatStationBoardReq = (ctx, station, type) => {
|
||||||
date: profile.formatDate(profile, opt.when),
|
date: profile.formatDate(profile, opt.when),
|
||||||
time: profile.formatTime(profile, opt.when),
|
time: profile.formatTime(profile, opt.when),
|
||||||
stbLoc: station,
|
stbLoc: station,
|
||||||
dirLoc: opt.direction ? profile.formatStation(opt.direction) : null,
|
dirLoc: opt.direction ? profile.formatStation(opt.direction) : undefined,
|
||||||
jnyFltrL,
|
jnyFltrL,
|
||||||
dur: opt.duration
|
dur: opt.duration
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue