]> 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)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Aug 2017 18:07:22 +0000 (19:07 +0100)
interface/js/app/history.js

index 2969e9ba7b597219bdb3fdac1534bdff289f5370..b13b3007b55131965333994c7778e5517a961604 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) {