commit 88ff9ed: [WebUI] Fix alert status reset
moisseev
moiseev at mezonplus.ru
Fri Aug 14 17:14:07 UTC 2020
Author: moisseev
Date: 2020-08-14 10:56:13 +0300
URL: https://github.com/rspamd/rspamd/commit/88ff9ed700158689103465ba30e8f63dd63be494
[WebUI] Fix alert status reset
---
interface/js/app/stats.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index dd89879a6..f5a66c603 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -254,7 +254,7 @@ define(["jquery", "d3pie"],
for (var e in neighbours_status) {
if (neighbours_status[e].status === true) {
// Remove alert status
- localStorage.removeItem(e + "_alerted");
+ sessionStorage.removeItem("alerted_stats_" + neighbours_status[e].name);
var data = neighbours_status[e].data;
for (var action in neighbours_sum.actions) {
More information about the Commits
mailing list