From 02c47571fdebb55087c1213707d09ce299d89d95 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sun, 14 Jun 2020 11:11:50 +0100 Subject: [PATCH] [refactor] improve update --- src/js/update.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/update.js b/src/js/update.js index 29efa152..a0655397 100644 --- a/src/js/update.js +++ b/src/js/update.js @@ -1022,6 +1022,9 @@ var update = (function() { delete arrayItem.display; delete arrayItem.letter; delete arrayItem.icon; + if (arrayItem.visual.letter == null) { + arrayItem.visual.letter = ""; + }; if (arrayItem.visual.icon.label == null) { arrayItem.visual.icon.label = ""; };