From: Vsevolod Stakhov Date: Thu, 10 Aug 2017 18:07:22 +0000 (+0100) Subject: [Fix] Add another workaround to display history properly X-Git-Tag: 1.6.4~22^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3287fc4205d4e94b0fff5866579ed162fad8ab72;p=thirdparty%2Frspamd.git [Fix] Add another workaround to display history properly --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 381c01d0d1..d6952127fb 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -117,6 +117,9 @@ function($, _, Humanize) { preprocess_item(item); Object.keys(item.symbols).map(function(key) { var sym = item.symbols[key]; + if (!sym.name) { + sym.name = key; + } var str = '' + sym.name + '' + "(" + sym.score + ")"; if (sym.options) {