Skip to content
Snippets Groups Projects
Commit f04cdd1d authored by 한동현's avatar 한동현
Browse files

fix: 인증서 목록 페이지 인증 방식 표시 오류 수정

parent 7a50bd54
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ export default function CertificateList() { ...@@ -122,7 +122,7 @@ export default function CertificateList() {
<div className="flex justify-between space-x-4"> <div className="flex justify-between space-x-4">
<div className="space-y-1"> <div className="space-y-1">
<p className="text-sm font-semibold"> <p className="text-sm font-semibold">
{certificate.dnsChallenge === null ? ( {certificate.challenge === 'http' ? (
<Badge variant="secondary" className="mr-2"> <Badge variant="secondary" className="mr-2">
HTTP HTTP
</Badge> </Badge>
...@@ -145,7 +145,7 @@ export default function CertificateList() { ...@@ -145,7 +145,7 @@ export default function CertificateList() {
<TableCell>{certificate.expiresAt}</TableCell> <TableCell>{certificate.expiresAt}</TableCell>
<TableCell> <TableCell>
<div className="flex justify-center items-center gap-1"> <div className="flex justify-center items-center gap-1">
{certificate.dnsChallenge === null ? ( {certificate.challenge === 'http' ? (
<Badge variant="secondary"> <Badge variant="secondary">
<Globe className="h-3 w-3" /> <Globe className="h-3 w-3" />
HTTP HTTP
......
...@@ -5,5 +5,5 @@ export interface Certificate { ...@@ -5,5 +5,5 @@ export interface Certificate {
createdAt: string; createdAt: string;
updatedAt: string; updatedAt: string;
expiresAt: string; expiresAt: string;
dnsChallenge: string | null; challenge: string;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment