From 09ba7b315afd485bc9b58c7e8fd7e07bba6aab87 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Wed, 9 Jul 2025 14:23:40 -0600 Subject: [PATCH] show all other assumptions --- .../src/components/features/sheets/MessageAssumptions.tsx | 6 ++---- apps/web/src/lib/messages/confidence-translations.ts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/features/sheets/MessageAssumptions.tsx b/apps/web/src/components/features/sheets/MessageAssumptions.tsx index 8c2faea5c..54fd5433e 100644 --- a/apps/web/src/components/features/sheets/MessageAssumptions.tsx +++ b/apps/web/src/components/features/sheets/MessageAssumptions.tsx @@ -182,10 +182,8 @@ const AssumptionList = React.memo( if (selectedPanel === AssumptionType.MAJOR) { return assumptions?.filter((a) => a.label === 'major') ?? []; } - if (selectedPanel === AssumptionType.MINOR) { - return assumptions?.filter((a) => a.label === 'minor') ?? []; - } - return []; + + return assumptions?.filter((a) => a.label !== 'major') ?? []; }, [assumptions, selectedPanel]); const title = useMemo(() => { diff --git a/apps/web/src/lib/messages/confidence-translations.ts b/apps/web/src/lib/messages/confidence-translations.ts index f75e6c349..7c6bcd9f9 100644 --- a/apps/web/src/lib/messages/confidence-translations.ts +++ b/apps/web/src/lib/messages/confidence-translations.ts @@ -37,6 +37,6 @@ export const assumptionClassificationTranslations: Record = { major: 'Major', minor: 'Minor', - timeRelated: 'Time Related', - vagueRequest: 'Vague Request' + timeRelated: 'Time related', + vagueRequest: 'Vague request' };