From 60462b9b4523199e53800a40b566ce6e75824d2f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 22 Oct 2025 07:05:30 -0600 Subject: [PATCH] Set unknown --- web/src/components/card/ClassificationCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx index bb9a77f04..2fbe36804 100644 --- a/web/src/components/card/ClassificationCard.tsx +++ b/web/src/components/card/ClassificationCard.tsx @@ -219,10 +219,10 @@ export function GroupedClassificationCard({ const bestTyped: ClassificationItemData = best; return { ...bestTyped, - name: event ? (event.sub_label ?? "") : bestTyped.name, + name: event ? (event.sub_label ?? t("details.unknown")) : bestTyped.name, score: event?.data?.sub_label_score || bestTyped.score, }; - }, [group, event]); + }, [group, event, t]); const bestScoreStatus = useMemo(() => { if (!bestItem?.score || !threshold) {