aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-01-28 23:42:34 +0600
committerGitHub <noreply@github.com>2024-01-28 23:42:34 +0600
commit44cebd4448d61157e3952058dbb4a08ff7910b97 (patch)
treeadaeaf6200de1222fae344194fda3086719cb0ee
parenta06f4c1439fda74bc221812a3ecbfba0a285dffd (diff)
parentc7f36e91202000b472c7483c9ce7214a06abff2e (diff)
downloadrspamd-44cebd4448d61157e3952058dbb4a08ff7910b97.tar.gz
rspamd-44cebd4448d61157e3952058dbb4a08ff7910b97.zip
Merge pull request #4798 from moisseev/passthrough
[WebUI] Show pass-through module in History
-rw-r--r--interface/js/app/libft.js8
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);