Custom certificate upload

This commit is contained in:
Jamie Curnow
2025-10-27 19:26:33 +10:00
parent 0de26f2950
commit 83a2c79e16
7 changed files with 216 additions and 40 deletions

View File

@@ -40,7 +40,13 @@ export default function Table({ data, isFetching, onDelete, onRenew, onDownload,
header: intl.formatMessage({ id: "column.name" }),
cell: (info: any) => {
const value = info.getValue();
return <DomainsFormatter domains={value.domainNames} createdOn={value.createdOn} />;
return (
<DomainsFormatter
domains={value.domainNames}
createdOn={value.createdOn}
niceName={value.niceName}
/>
);
},
}),
columnHelper.accessor((row: any) => row.provider, {
@@ -50,6 +56,9 @@ export default function Table({ data, isFetching, onDelete, onRenew, onDownload,
if (info.getValue() === "letsencrypt") {
return <T id="lets-encrypt" />;
}
if (info.getValue() === "other") {
return <T id="certificates.custom" />;
}
return <T id={info.getValue()} />;
},
}),