diff --git a/web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx b/web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx index 1e29c568e1..80eb58540c 100644 --- a/web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx +++ b/web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx @@ -54,7 +54,7 @@ type ScrapePools = { }; const poolPanelHealthClass = (pool: ScrapePool) => - pool.count > 1 && pool.downCount === pool.count + pool.count > 0 && pool.downCount === pool.count ? panelClasses.panelHealthErr : pool.downCount >= 1 ? panelClasses.panelHealthWarn