mirror of https://github.com/buster-so/buster.git
show all other assumptions
This commit is contained in:
parent
016ca3f448
commit
09ba7b315a
|
@ -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(() => {
|
||||
|
|
|
@ -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'
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue