forked from MapComplete/MapComplete
Fix: fix MapComplete/MapComplete#2293
This commit is contained in:
parent
d43e3a0d83
commit
b22015e2c8
3 changed files with 73 additions and 58 deletions
|
@ -184,9 +184,7 @@ export default class LayerState {
|
|||
", but this layer was not loaded"
|
||||
)
|
||||
}
|
||||
console.warn(
|
||||
"Linking filter and isDisplayed-states of " + layer.id + " and " + layer.filterIsSameAs
|
||||
)
|
||||
// We make a shallow copy, reusing the same underlying stores
|
||||
const copy = new FilteredLayer(layer, toReuse.appliedFilters, toReuse.isDisplayed)
|
||||
filteredLayers.set(layer.id, copy)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue