feat(ui): new AccessList UI using antd
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user