aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-10 19:07:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-10 19:07:22 +0100
commit6f45464121b10a66e7fb2d5c4d2070739437daf2 (patch)
treeb2527d4d9a7c4fcba4a60838c8632c0eac2b32b5 /interface/js
parentbb56713f25a5904d9f1a35309fdd78971b120969 (diff)
downloadrspamd-6f45464121b10a66e7fb2d5c4d2070739437daf2.tar.gz
rspamd-6f45464121b10a66e7fb2d5c4d2070739437daf2.zip
[Fix] Add another workaround to display history properly
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/app/history.js3
1 files changed, 3 insertions, 0 deletions
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 = '<strong>' + sym.name + '</strong>' + "(" + sym.score + ")";
if (sym.options) {