add color to health check

This commit is contained in:
miloschwartz
2025-12-08 10:31:53 -05:00
parent 37830d211d
commit f9b15b9156

View File

@@ -931,9 +931,10 @@ export default function ReverseProxyTargets(props: {
openHealthCheckDialog(row.original) openHealthCheckDialog(row.original)
} }
> >
<Settings className="h-4 w-4" /> <div
<div className="flex items-center gap-1"> className={`flex items-center gap-1 ${status === "healthy" ? "text-green-500" : status === "unhealthy" ? "text-destructive" : ""}`}
{getStatusIcon(status)} >
<Settings className="h-4 w-4" />
{getStatusText(status)} {getStatusText(status)}
</div> </div>
</Button> </Button>