diff options
author | moisseev <moiseev@mezonplus.ru> | 2022-11-05 18:31:27 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2022-11-05 18:31:27 +0300 |
commit | 685665f36d7cfacff600a76eddf6d0cf28fc0cb9 (patch) | |
tree | 82902be7f32d6745482bc9c2d397e677fefe1a39 /interface/js/app | |
parent | 6684cdd168704a55bbf88725c965f8239c859cfe (diff) | |
download | rspamd-685665f36d7cfacff600a76eddf6d0cf28fc0cb9.tar.gz rspamd-685665f36d7cfacff600a76eddf6d0cf28fc0cb9.zip |
[WebUI] Add legacy history version badge
Diffstat (limited to 'interface/js/app')
-rw-r--r-- | interface/js/app/history.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |