Fix: hide items if the layer is disabled and favourites is enabled

This commit is contained in:
Pieter Vander Vennet 2024-11-07 10:59:43 +01:00
parent 92feccc146
commit 7bdd30879b

View file

@ -30,6 +30,9 @@ export default class FilteringFeatureSource implements FeatureSource {
upstream.features.addCallback(() => {
self.update()
})
layer.isDisplayed.addCallback(() => {
self.update()
})
layer.appliedFilters.forEach((value) =>
value.addCallback((_) => {