diff --git a/packages/app/src/components/choropleth-legenda.tsx b/packages/app/src/components/choropleth-legenda.tsx index 366600858a..f89f850f4b 100644 --- a/packages/app/src/components/choropleth-legenda.tsx +++ b/packages/app/src/components/choropleth-legenda.tsx @@ -40,7 +40,16 @@ export function ChoroplethLegenda({ title, thresholds, valueAnnotation, pageType }); } break; - case 'patienten-in-beeld' || 'ziekenhuis-opnames': + case 'patienten-in-beeld': + if (i === 0 && x.threshold === 0) { + label = commonTexts.common.no_notifications; + } else if (i === 1) { + label = replaceVariablesInText(commonTexts.common.bigger_than_zero_and_less_than_value, { + value_1: formatNumber(thresholds[i + 1].threshold), + }); + } + break; + case 'ziekenhuis-opnames': if (i === 0 && x.threshold === 0) { label = commonTexts.common.no_notifications; } else if (i === 1) {