Use Plesk CLI subscription info to populate status; domains inherit status; UI badges

This commit is contained in:
2026-03-05 10:17:28 +00:00
parent b80b3797fe
commit a64de5aba3
4 changed files with 37 additions and 28 deletions

View File

@@ -60,6 +60,10 @@ function getDomainStatusBadge(status: string | null) {
return "bg-emerald-100 text-emerald-700";
}
if (normalized.includes("ok")) {
return "bg-emerald-100 text-emerald-700";
}
return "bg-slate-100 text-slate-600";
}