From 442eeec6036b93a0f57448d61a9727aa09f54add Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 19 Dec 2025 11:25:22 -0700 Subject: [PATCH] Fix incorrect mismatch for object vs sub label --- web/src/components/card/ClassificationCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx index bf91d89c2..7001776bd 100644 --- a/web/src/components/card/ClassificationCard.tsx +++ b/web/src/components/card/ClassificationCard.tsx @@ -233,7 +233,7 @@ export function GroupedClassificationCard({ }); if (!best) { - return group.at(-1); + best = group.at(-1)!; } const bestTyped: ClassificationItemData = best;