fix: keep bounded thematic coverage scoped
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 22:49:19 +02:00
parent c787fb2184
commit 9513f8613e
4 changed files with 14 additions and 0 deletions
@@ -772,6 +772,11 @@ export function MapWorkspace({
&& datasetCoversSelectedArea(dataset, selectedMapAreaId, regionalScopeSelected),
) ?? null
}
if (flandersScopeSelected && officialMapProducts.thematic.length > 0) {
for (const product of officialMapProducts.thematic) {
result[product.theme] = null
}
}
if (flandersScopeSelected && officialMapProducts.grb.length > 0) {
for (const product of officialMapProducts.grb) {
result[product.key] = null
@@ -791,6 +796,7 @@ export function MapWorkspace({
officialMapProducts.floodHazard.length,
officialMapProducts.grb,
officialMapProducts.officialVector,
officialMapProducts.thematic,
regionalScopeSelected,
selectedDhmvProductKey,
selectedFloodHazardDatasetId,