From 86f82c6e0a002bf9f52d1dbb3d2d4aad53e7af04 Mon Sep 17 00:00:00 2001 From: Teagan glenn Date: Sat, 21 Feb 2026 22:46:57 -0700 Subject: [PATCH] Fix classification assignment classes lookup in detail dialog --- web/src/components/overlay/detail/SearchDetailDialog.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index d6571a7f3..9f430fef5 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -1595,7 +1595,8 @@ function ObjectDetailsTab({ const model = config?.classification?.custom?.[modelName]; if (!model) return null; - const classes = Object.keys(modelAttributes?.[modelName] ?? {}); + const displayName = model.name || modelName; + const classes = modelAttributes?.[displayName] ?? []; if (classes.length === 0) return null; return (