From 4bcae146c1e3d65cc1f763ab6f5e068a31bb85bd Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 2 Jul 2018 16:55:39 +0200 Subject: [PATCH] fix warnings parsing :bug: --- parse/warning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/warning.js b/parse/warning.js index face0052..ad5d1147 100644 --- a/parse/warning.js +++ b/parse/warning.js @@ -24,7 +24,7 @@ const parseWarning = (profile, w, icons) => { // tDate: '20180713', // 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' return {