diff options
author | moisseev <moiseev@mezonplus.ru> | 2024-01-28 17:32:20 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2024-01-28 17:32:20 +0300 |
commit | c7f36e91202000b472c7483c9ce7214a06abff2e (patch) | |
tree | 71701e5bea7c5532375251c03def8395edee1127 /interface/js/app/libft.js | |
parent | abc813e0698cc604e7651beebce93266a8e719a6 (diff) | |
download | rspamd-c7f36e91202000b472c7483c9ce7214a06abff2e.tar.gz rspamd-c7f36e91202000b472c7483c9ce7214a06abff2e.zip |
[WebUI] Show pass-through module in History
Diffstat (limited to 'interface/js/app/libft.js')
-rw-r--r-- | interface/js/app/libft.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/interface/js/app/libft.js b/interface/js/app/libft.js index c69f74d2b..14ef458f6 100644 --- a/interface/js/app/libft.js +++ b/interface/js/app/libft.js @@ -111,8 +111,10 @@ define(["jquery", "app/common", "footable"], style: {minwidth: 82} }, { name: "passthrough_module", - title: '<div title="The module that has set the pre-result">Pass-through module</div>', - breakpoints: "xs sm md" + title: '<div title="The module that has set the pre-result"><nobr>Pass-through</nobr> module</div>', + breakpoints: "xs", + style: {minWidth: 98, maxWidth: 98}, + sortValue: (val) => ((typeof val === "undefined") ? "" : val) }, { name: "score", title: "Score", @@ -169,7 +171,7 @@ define(["jquery", "app/common", "footable"], }].filter((col) => { switch (table) { case "history": - return (col.name !== "passthrough_module"); + return true; case "scan": return ["ip", "sender_mime", "rcpt_mime_short", "rcpt_mime", "subject", "size", "user"] .every((name) => col.name !== name); |