From 65f36039537f226faa748a12ecead2acda8550eb Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 2 Jul 2018 16:59:38 +0200 Subject: [PATCH] fix warnings parsing part 2 :bug: --- parse/warning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/warning.js b/parse/warning.js index ad5d1147..aae5074b 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[w.icoX] || null + const icon = 'number' === typeof w.icoX && icons[w.icoX] || null const type = icon && icon.res && typesByIcon[icon.res] || 'warning' return {