From 2c3768341a3e77a7357de9201ba9e134d6d9ef16 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 6 Nov 2025 19:11:17 +0000 Subject: [PATCH] Fix Docker host row dimming for degraded status Docker hosts with 'degraded' status were incorrectly appearing dimmed (opacity-60) in the summary table, making them visually identical to offline hosts. This was confusing because degraded hosts are still actively reporting - they just have unhealthy containers or >35% of containers not running. The isHostOnline function now treats 'degraded' as an online status, so these rows maintain full opacity. The status badge already provides visual indication of the degraded state. --- .../src/components/Docker/DockerHostSummaryTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/components/Docker/DockerHostSummaryTable.tsx b/frontend-modern/src/components/Docker/DockerHostSummaryTable.tsx index 96da1c7..4b1127f 100644 --- a/frontend-modern/src/components/Docker/DockerHostSummaryTable.tsx +++ b/frontend-modern/src/components/Docker/DockerHostSummaryTable.tsx @@ -34,7 +34,7 @@ type SortDirection = 'asc' | 'desc'; const isHostOnline = (host: DockerHost) => { const status = host.status?.toLowerCase() ?? ''; - return status === 'online' || status === 'running' || status === 'healthy'; + return status === 'online' || status === 'running' || status === 'healthy' || status === 'degraded'; }; const getDisplayName = (host: DockerHost) => {