Use Plesk CLI subscription info to populate status; domains inherit status; UI badges
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user