mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 02:36:38 +00:00
add color to health check
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user