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.7.0~744 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f45464121b10a66e7fb2d5c4d2070739437daf2;p=rspamd.git [Fix] Add another workaround to display history properly --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 2969e9ba7..b13b3007b 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) {