mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
Small change on the renew column badge for disabled options
This commit is contained in:
@@ -115,7 +115,7 @@ const getAutoRenewalInfo = (certificate: TCertificate) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!certificate.renewBeforeDays) {
|
if (!certificate.renewBeforeDays) {
|
||||||
return { text: "Disabled", variant: "primary" as const };
|
return { text: "Auto-Renewal Disabled", variant: "primary" as const };
|
||||||
}
|
}
|
||||||
|
|
||||||
const notAfterDate = new Date(certificate.notAfter);
|
const notAfterDate = new Date(certificate.notAfter);
|
||||||
|
|||||||
Reference in New Issue
Block a user