From 05a43df309dddb37a8af9baa23783ac5a85adbbe Mon Sep 17 00:00:00 2001 From: Noah Talerman <47070608+noahtalerman@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:34:49 -0500 Subject: [PATCH] [Bug fix] Controls > OS settings: Plural "1 hosts" (#35611) For the following bug: - #35610 @noahtalerman: I didn't test/QA this myself. I moved the bug to "Awaiting QA" --- .../ProfileStatusAggregate/ProfileStatusAggregate.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/pages/ManageControlsPage/OSSettings/ProfileStatusAggregate/ProfileStatusAggregate.tsx b/frontend/pages/ManageControlsPage/OSSettings/ProfileStatusAggregate/ProfileStatusAggregate.tsx index 07234bce2c..b08b028192 100644 --- a/frontend/pages/ManageControlsPage/OSSettings/ProfileStatusAggregate/ProfileStatusAggregate.tsx +++ b/frontend/pages/ManageControlsPage/OSSettings/ProfileStatusAggregate/ProfileStatusAggregate.tsx @@ -29,6 +29,8 @@ const ProfileStatusCount = ({ hostCount, tooltipText, }: IProfileStatusCountProps) => { + const countText = hostCount === 1 ? "host" : "hosts"; + return (
-
{hostCount} hosts
+
+ {hostCount} {countText} +
); };