From 84a1396265d96808cb4f87b46f6fdef5cd99b58e Mon Sep 17 00:00:00 2001 From: robbond Date: Thu, 5 Mar 2026 12:42:56 +0000 Subject: [PATCH] feat(ui): show subscription status in dashboard --- components/dashboard/dashboard-controls.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/dashboard/dashboard-controls.tsx b/components/dashboard/dashboard-controls.tsx index 2c1d472..a868e1b 100644 --- a/components/dashboard/dashboard-controls.tsx +++ b/components/dashboard/dashboard-controls.tsx @@ -57,6 +57,10 @@ function getDomainStatusBadge(status: string | null) { return "bg-rose-100 text-rose-700"; } + if (normalized.includes("expired")) { + return "bg-amber-100 text-amber-700"; + } + if (normalized.includes("active") || normalized.includes("enabled")) { return "bg-emerald-100 text-emerald-700"; } @@ -576,7 +580,7 @@ export function DashboardControls({ Domain - Status + Subscription Status Hosting Created Aliases