aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/stats.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-08-14 10:56:13 +0300
committermoisseev <moiseev@mezonplus.ru>2020-08-14 10:56:13 +0300
commit88ff9ed700158689103465ba30e8f63dd63be494 (patch)
treec253c2a676036babb0c4573fd5120c9e2d7b6656 /interface/js/app/stats.js
parent042053e472148ac7789843d9e720cedcbc717655 (diff)
downloadrspamd-88ff9ed700158689103465ba30e8f63dd63be494.tar.gz
rspamd-88ff9ed700158689103465ba30e8f63dd63be494.zip
[WebUI] Fix alert status reset
Diffstat (limited to 'interface/js/app/stats.js')
-rw-r--r--interface/js/app/stats.js2
1 files changed, 1 insertions, 1 deletions
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) {