From 70ec000266daa9df00a72939a7be30b330532928 Mon Sep 17 00:00:00 2001 From: Aryaman Kumar Sharma Date: Thu, 8 May 2025 17:46:52 +0530 Subject: [PATCH] Fix: UI Fixes on Infra Page --- .../Details/Components/StatusBoxes/index.jsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/client/src/Pages/Infrastructure/Details/Components/StatusBoxes/index.jsx b/client/src/Pages/Infrastructure/Details/Components/StatusBoxes/index.jsx index a487dc883..447831acb 100644 --- a/client/src/Pages/Infrastructure/Details/Components/StatusBoxes/index.jsx +++ b/client/src/Pages/Infrastructure/Details/Components/StatusBoxes/index.jsx @@ -51,7 +51,9 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => { subHeading={ <> {physicalCores} - cores + + {physicalCores === 1 ? "core" : "cores"} + } /> @@ -61,7 +63,9 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => { subHeading={ <> {logicalCores} - cores + + {logicalCores === 1 ? "core" : "cores"} + } /> @@ -79,7 +83,7 @@ const InfraStatBoxes = ({ shouldRender, monitor }) => { subHeading={ <> {cpuTemperature.toFixed(2)} - C + °C } />