mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
fix syntax error 🤦
This commit is contained in:
parent
fe33866a15
commit
7cd963c344
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const createParseLine = (profile, operators) => {
|
|||
|
||||
// This is terrible, but FPTF demands an ID. Let's pray for VBB to expose an ID.
|
||||
// todo: find a better way
|
||||
else if (p.line) res.id = slugg(p.line.trim())
|
||||
if (p.line) res.id = slugg(p.line.trim())
|
||||
else if (p.name) res.id = slugg(p.name.trim())
|
||||
|
||||
if (p.cls) res.class = p.cls
|
||||
|
|
Loading…
Add table
Reference in a new issue