Show the cert status of the namespace domains properly

This commit is contained in:
Owen
2026-08-04 17:44:34 -04:00
parent 18b90da6ab
commit 835a30cffe
2 changed files with 28 additions and 6 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ export function useCertificate({
let certError: string | null = null;
if (restartCert.isError) {
certError = "Failed to restart";
} else if (isError || initialCertValue === null) {
} else if (isError || (!isLoading && data === null)) {
// Null value means failed to get the certificate
certError = "Failed";
}