feat(ui): new AccessList UI using antd

This commit is contained in:
Fu Diwei
2024-12-06 09:54:44 +08:00
parent 65d9c6fe2f
commit b44b8d09b2
54 changed files with 429 additions and 528 deletions

View File

@@ -53,7 +53,7 @@ const CertificateDetail = ({ open, onOpenChange, certificate }: WorkflowLogDetai
<Textarea value={certificate?.certificate} rows={10} readOnly={true} />
</div>
<div className="flex flex-col space-y-3">
<Label>{t("certificate.props.private.key")}</Label>
<Label>{t("certificate.props.private_key")}</Label>
<Textarea value={certificate?.privateKey} rows={10} readOnly={true} />
</div>
</div>

View File

@@ -103,7 +103,7 @@ const CertificateList = ({ withPagination }: CertificateListProps) => {
},
{
accessorKey: "created",
header: t("certificate.props.created"),
header: t("common.text.created_at"),
cell: ({ row }) => {
const date: string = row.getValue("created");
return new Date(date).toLocaleString();