Fix bounded GRB coverage display
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 21:34:32 +02:00
parent 488da4cc83
commit 0c29411f49
4 changed files with 14 additions and 0 deletions
@@ -770,6 +770,11 @@ export function MapWorkspace({
&& datasetCoversSelectedArea(dataset, selectedMapAreaId, regionalScopeSelected),
) ?? null
}
if (flandersScopeSelected && officialMapProducts.grb.length > 0) {
for (const product of officialMapProducts.grb) {
result[product.key] = null
}
}
return result
}, [
availableMapDatasets,
@@ -777,6 +782,7 @@ export function MapWorkspace({
floodHazardDatasets,
officialMapProducts.dhmv.length,
officialMapProducts.floodHazard.length,
officialMapProducts.grb,
regionalScopeSelected,
selectedDhmvProductKey,
selectedFloodHazardDatasetId,