From: Alexander Moisseev Date: Thu, 29 Jan 2026 13:19:55 +0000 (+0300) Subject: [Minor] WebUI: Deduplicate fuzzy hashes in multipart messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5378c570850782c93b858de475c2c5bf68fbcb;p=thirdparty%2Frspamd.git [Minor] WebUI: Deduplicate fuzzy hashes in multipart messages --- diff --git a/interface/js/app/libft.js b/interface/js/app/libft.js index c4605ac640..bccc918bd7 100644 --- a/interface/js/app/libft.js +++ b/interface/js/app/libft.js @@ -752,7 +752,7 @@ define(["jquery", "app/common", "footable"], return; } - const fullHashes = indices.map((i) => hashes[i]); + const fullHashes = [...new Set(indices.map((i) => hashes[i]))]; handler.call(this, fullHashes); }); }