]> source.dussan.org Git - rspamd.git/commitdiff
Fix symbol name in history
authorAlex Hermann <alex-github@wenlex.nl>
Thu, 10 Aug 2017 08:55:40 +0000 (10:55 +0200)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Sep 2017 19:24:58 +0000 (20:24 +0100)
Commit 75cfe801 broke the display of the symbols in the history. This patch fixes that.

interface/js/app/history.js

index d6952127fbb790b8f2bc2cec65e8d661d1c63562..b13b3007b55131965333994c7778e5517a961604 100644 (file)
@@ -64,7 +64,7 @@ function($, _, Humanize) {
                     Object.keys(item.symbols).map(function(key) {
                         var sym = item.symbols[key];
 
-                        sym.name = EscapeHTML(sym.name);
+                        sym.name = EscapeHTML(key);
                         sym.description = EscapeHTML(sym.description);
 
                         if (sym.options) {