feat: fix SendgridEmailProvider error handling, fix send-email template

This commit is contained in:
Yang Luo
2024-04-11 00:18:39 +08:00
parent 3354945119
commit 6b637e3b2e
3 changed files with 69 additions and 18 deletions

View File

@ -110,6 +110,26 @@ class VerificationListPage extends BaseListPage {
);
},
},
{
title: i18next.t("general:Client IP"),
dataIndex: "remoteAddr",
key: "remoteAddr",
width: "100px",
sorter: true,
...this.getColumnSearchProps("remoteAddr"),
render: (text, record, index) => {
let clientIp = text;
if (clientIp.endsWith(": ")) {
clientIp = clientIp.slice(0, -2);
}
return (
<a target="_blank" rel="noreferrer" href={`https://db-ip.com/${clientIp}`}>
{clientIp}
</a>
);
},
},
{
title: i18next.t("verification:Receiver"),
dataIndex: "receiver",