From 685665f36d7cfacff600a76eddf6d0cf28fc0cb9 Mon Sep 17 00:00:00 2001 From: moisseev Date: Sat, 5 Nov 2022 18:31:27 +0300 Subject: [WebUI] Add legacy history version badge --- interface/js/app/history.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'interface/js/app') diff --git a/interface/js/app/history.js b/interface/js/app/history.js index b9b3831ea..a9e40c7b4 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -349,9 +349,11 @@ define(["jquery", "footable"], return e.rows; })); data.version = version; + $("#legacy-history-badge").hide(); } else { // Legacy version data = [].concat.apply([], neighbours_data); + $("#legacy-history-badge").show(); } var o = process_history_data(rspamd, data); var items = o.items; -- cgit v1.2.3