mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
fix code commentary 🐛
This commit is contained in:
parent
cee3a78d8e
commit
269a2524fb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const parseLocation = (profile, l, lines) => {
|
||||||
res.lines = res.lines.filter(x => x.id && x.name)
|
res.lines = res.lines.filter(x => x.id && x.name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove trailing zeroes, todo
|
// remove leading zeroes, todo
|
||||||
if (res.id && res.id.length > 0) {
|
if (res.id && res.id.length > 0) {
|
||||||
res.id = res.id.replace(/^0+/, '')
|
res.id = res.id.replace(/^0+/, '')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue