show all other assumptions

This commit is contained in:
Nate Kelley 2025-07-09 14:23:40 -06:00
parent 016ca3f448
commit 09ba7b315a
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 4 additions and 6 deletions

View File

@ -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(() => {

View File

@ -37,6 +37,6 @@ export const assumptionClassificationTranslations: Record<AssumptionClassificati
export const assumptionLabelTranslations: Record<AssumptionLabel, string> = {
major: 'Major',
minor: 'Minor',
timeRelated: 'Time Related',
vagueRequest: 'Vague Request'
timeRelated: 'Time related',
vagueRequest: 'Vague request'
};