aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2024-01-28 17:32:20 +0300
committermoisseev <moiseev@mezonplus.ru>2024-01-28 17:32:20 +0300
commitc7f36e91202000b472c7483c9ce7214a06abff2e (patch)
tree71701e5bea7c5532375251c03def8395edee1127 /interface/js
parentabc813e0698cc604e7651beebce93266a8e719a6 (diff)
downloadrspamd-c7f36e91202000b472c7483c9ce7214a06abff2e.tar.gz
rspamd-c7f36e91202000b472c7483c9ce7214a06abff2e.zip
[WebUI] Show pass-through module in History
Diffstat (limited to 'interface/js')
-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);