mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-04-20 23:23:56 +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),
|
||||
time: profile.formatTime(profile, opt.when),
|
||||
stbLoc: station,
|
||||
dirLoc: opt.direction ? profile.formatStation(opt.direction) : null,
|
||||
dirLoc: opt.direction ? profile.formatStation(opt.direction) : undefined,
|
||||
jnyFltrL,
|
||||
dur: opt.duration
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue