@@ -127,17 +147,20 @@ export default function CertificateStatus({
{t("certificateStatus")}:
)}
- {isPending ? (
+ {isPending && !disableRestartButton ? (
) : (
-
-
+
+
+
{cert.status.charAt(0).toUpperCase() +
cert.status.slice(1)}
- {shouldShowRefreshButton(
- cert.status,
- cert.updatedAt
- ) && (
+ {shouldShowRefreshButton(cert.status, cert.updatedAt) &&
+ !disableRestartButton ? (
- )}
+ ) : null}
)}
diff --git a/src/components/InternalResourceForm.tsx b/src/components/InternalResourceForm.tsx
index 56bca891f..62e4fc611 100644
--- a/src/components/InternalResourceForm.tsx
+++ b/src/components/InternalResourceForm.tsx
@@ -1154,8 +1154,8 @@ export function InternalResourceForm({
resource.fullDomain &&
build != "oss" &&
form.watch("ssl") && (
-
-
+
+
{t("certificateStatus")}:
-
+
{t("protected")}
) : (
-
-
+
+
{t("notProtected")}
)}