]> source.dussan.org Git - rspamd.git/commitdiff
Fix symbol name in history 1796/head
authorAlex Hermann <alex-github@wenlex.nl>
Thu, 10 Aug 2017 08:55:40 +0000 (10:55 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2017 08:55:40 +0000 (10:55 +0200)
Commit 75cfe801 broke the display of the symbols in the history. This patch fixes that.

interface/js/app/history.js

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