From fe8e68e4a2544c7dbf9792b3882fb307c82f75e3 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Fri, 13 Jul 2018 12:17:15 +0200 Subject: [PATCH] fix DB hints parsing :bug: --- p/db/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/db/index.js b/p/db/index.js index 8bf9e98d..2e49a675 100644 --- a/p/db/index.js +++ b/p/db/index.js @@ -285,7 +285,7 @@ const parseHint = (profile, h, icons) => { } const res = _parseHint(profile, h, icons) - if (h.txtN) { + if (res && h.txtN) { const text = trim(h.txtN.toLowerCase(), ' ()') if (codesByText[text]) res.code = codesByText[text] }