]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Add another workaround to display history properly
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Aug 2017 18:07:22 +0000 (19:07 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 28 Aug 2017 11:20:21 +0000 (13:20 +0200)
interface/js/app/history.js

index 381c01d0d18f189f8c116d550e27d7daa242ecbf..d6952127fbb790b8f2bc2cec65e8d661d1c63562 100644 (file)
@@ -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) {