commit c7f36e9: [WebUI] Show pass-through module in History
moisseev
moiseev at mezonplus.ru
Mon Jul 29 17:51:59 UTC 2024
Author: moisseev
Date: 2024-01-28 17:32:20 +0300
URL: https://github.com/rspamd/rspamd/commit/c7f36e91202000b472c7483c9ce7214a06abff2e (refs/pull/4798/head)
[WebUI] Show pass-through module in History
---
interface/js/app/libft.js | 8 +++++---
1 file 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);
More information about the Commits
mailing list