From f8bcb0cceb1c370c9731a4e3917d707296551a2e Mon Sep 17 00:00:00 2001 From: fuling Date: Thu, 19 Oct 2023 17:44:23 +0800 Subject: [PATCH] ui Signed-off-by: liguozhong Signed-off-by: fuling --- web/ui/react-app/src/pages/serviceDiscovery/Services.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ui/react-app/src/pages/serviceDiscovery/Services.tsx b/web/ui/react-app/src/pages/serviceDiscovery/Services.tsx index 71871a3424b0..8ed05c8d06f1 100644 --- a/web/ui/react-app/src/pages/serviceDiscovery/Services.tsx +++ b/web/ui/react-app/src/pages/serviceDiscovery/Services.tsx @@ -49,7 +49,7 @@ export const processSummary = ( const { scrapePool: name } = target; if (!targets[name]) { targets[name] = { - total: droppedTargetCounts[name], + total: 0, active: 0, }; } @@ -60,7 +60,7 @@ export const processSummary = ( const { job: name } = target.discoveredLabels; if (!targets[name]) { targets[name] = { - total: 0, + total: droppedTargetCounts[name], active: 0, }; }