Fix bounded GRB coverage display
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user