From 8351eef51ea83e27ca1ae009984aa92de34b988d Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Tue, 22 Oct 2024 15:49:17 -0400 Subject: [PATCH] fix: singular thread when there is only one thread Signed-off-by: Donnie Adams --- ui/admin/app/routes/_auth.agents._index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/admin/app/routes/_auth.agents._index.tsx b/ui/admin/app/routes/_auth.agents._index.tsx index 590b78519..15b248d5b 100644 --- a/ui/admin/app/routes/_auth.agents._index.tsx +++ b/ui/admin/app/routes/_auth.agents._index.tsx @@ -125,7 +125,10 @@ export default function Threads() { className="px-0" > - {info.getValue()} Threads + {info.getValue() + + (info.getValue() === "1" + ? " Thread" + : " Threads")}