diff --git a/browser/src/VariantPage/VariantOccurrenceTable.tsx b/browser/src/VariantPage/VariantOccurrenceTable.tsx index fe0b448ed..63f20e542 100644 --- a/browser/src/VariantPage/VariantOccurrenceTable.tsx +++ b/browser/src/VariantPage/VariantOccurrenceTable.tsx @@ -109,14 +109,13 @@ const FilteringAlleleFrequency = ({ popmax, popmax_population: popmaxPopulation, }: FilteringAlleleFrequencyProps) => { - if (popmax === null) { + // popmax (now called fafmax) of 0 is filtered out of the faf array of candidates + // instead, now display '-' rather than 0 to match the logic in the pipeline + // and in the method team's release process + if (popmax === null || popmax === 0) { return } - if (popmax === 0) { - return 0 - } - return ( {/* @ts-expect-error TS(2322) FIXME: Type '{ children: Element; tooltip: any; }' is not... Remove this comment to see the full error message */}