mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
fix warnings parsing 🐛
This commit is contained in:
parent
2f40c20175
commit
4bcae146c1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ const parseWarning = (profile, w, icons) => {
|
||||||
// tDate: '20180713',
|
// tDate: '20180713',
|
||||||
// tTime: '030000' } ]
|
// tTime: '030000' } ]
|
||||||
|
|
||||||
const icon = 'number' === typeof h.icoX && icons[h.icoX] || null
|
const icon = 'number' === typeof h.icoX && icons[w.icoX] || null
|
||||||
const type = icon && icon.res && typesByIcon[icon.res] || 'warning'
|
const type = icon && icon.res && typesByIcon[icon.res] || 'warning'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Reference in a new issue