From a156b6ad10161f3e39f1f8048a1744470a67c6e3 Mon Sep 17 00:00:00 2001 From: rouggy Date: Fri, 28 Aug 2026 12:17:59 +0200 Subject: [PATCH] fix(bandmap): the two tooltip labels the previous commit left out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without them t() was handed undefined for a new prefix or grid, so the tooltip would have shown an empty segment — the opposite of naming the fact. --- frontend/src/components/BandMap.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/components/BandMap.tsx b/frontend/src/components/BandMap.tsx index 1d6cb9c..3df1b81 100644 --- a/frontend/src/components/BandMap.tsx +++ b/frontend/src/components/BandMap.tsx @@ -76,6 +76,13 @@ const BMP_MARKER_LABEL: Record = { new_pota: 'bmp.legendNewPota', new_county: 'bmp.legendNewCounty', worked_call: 'bmp.legendWorkedCall', + // Not on the strip — the pill is 22 px and a fourth segment turns it into a + // colour code nobody reads — but the TOOLTIP has room, and leaving them out of + // it made the two panels contradict each other: the cluster said NEW PFX about + // a spot the map called "Worked". Both were true (the entity is worked on this + // slot, the WPX prefix never has been) and neither view said so. + new_pfx: 'clg2.newPfx', + new_grid: 'clg2.newGrid', }; interface Props {