]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] WebUI: Deduplicate fuzzy hashes in multipart messages 5863/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 29 Jan 2026 13:19:55 +0000 (16:19 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 29 Jan 2026 13:19:55 +0000 (16:19 +0300)
interface/js/app/libft.js

index c4605ac6404a4868d9a09b303edba945330bf7ee..bccc918bd72ad1cb824285a60e9463b62dd12454 100644 (file)
@@ -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);
                 });
             }