mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
parseLocation: null as fallback station name
This commit is contained in:
parent
7541bcae66
commit
57f3cdb7e0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const parseLocation = (profile, l, lines) => {
|
|||
const station = {
|
||||
type: 'station',
|
||||
id: l.extId,
|
||||
name: profile.parseStationName(l.name),
|
||||
name: l.name ? profile.parseStationName(l.name) : null,
|
||||
location: 'number' === typeof res.latitude ? res : null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue