feat: rename certificate props 'issuer' to 'issuerOrg'
This commit is contained in:
@@ -42,7 +42,7 @@ const CertificateDetail = ({ data, ...props }: CertificateDetailProps) => {
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label={t("certificate.props.issuer")}>
|
||||
<Input value={data.issuer} variant="filled" placeholder="" />
|
||||
<Input value={data.issuerOrg} variant="filled" placeholder="" />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label={t("certificate.props.validity")}>
|
||||
|
||||
@@ -6,7 +6,7 @@ export interface CertificateModel extends BaseModel {
|
||||
serialNumber: string;
|
||||
certificate: string;
|
||||
privateKey: string;
|
||||
issuer: string;
|
||||
issuerOrg: string;
|
||||
keyAlgorithm: string;
|
||||
effectAt: ISO8601String;
|
||||
expireAt: ISO8601String;
|
||||
|
||||
@@ -126,11 +126,11 @@ const CertificateList = () => {
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "issuer",
|
||||
key: "brand",
|
||||
title: t("certificate.props.brand"),
|
||||
render: (_, record) => (
|
||||
<Space className="max-w-full" direction="vertical" size={4}>
|
||||
<Typography.Text>{record.issuer}</Typography.Text>
|
||||
<Typography.Text>{record.issuerOrg}</Typography.Text>
|
||||
<Typography.Text>{record.keyAlgorithm}</Typography.Text>
|
||||
</Space>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user