Fix regional bathymetry context labels
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-17 17:47:10 +02:00
parent 4fd6c06f5c
commit c50756f67d
9 changed files with 94 additions and 10 deletions
+10 -4
View File
@@ -853,11 +853,17 @@ export function MapWorkspace({
- new Date(activeTemporalSeries[0].observed_at ?? 0).getTime() <= 7 * 24 * 60 * 60 * 1000
useEffect(() => {
onSetContextSourceLabel(
analysisMode === 'evolution' ? activeTemporalSeriesGroup?.label ?? null : null,
)
const contextSourceLabel = analysisMode === 'evolution' ? activeTemporalSeriesGroup?.label ?? null
: regionalBathymetryThemeActive ? 'VHA-dwarsprofielen Vlaanderen'
: null
onSetContextSourceLabel(contextSourceLabel)
return () => onSetContextSourceLabel(null)
}, [activeTemporalSeriesGroup?.label, analysisMode, onSetContextSourceLabel])
}, [
activeTemporalSeriesGroup?.label,
analysisMode,
onSetContextSourceLabel,
regionalBathymetryThemeActive,
])
const themeResults = useMemo(
() =>