From: moisseev Date: Sun, 28 Jan 2024 14:32:20 +0000 (+0300) Subject: [WebUI] Show pass-through module in History X-Git-Tag: 3.8.2~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4798%2Fhead;p=thirdparty%2Frspamd.git [WebUI] Show pass-through module in History --- diff --git a/interface/js/app/libft.js b/interface/js/app/libft.js index c69f74d2ba..14ef458f6b 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: '
Pass-through module
', - breakpoints: "xs sm md" + title: '
Pass-through module
', + 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);