Fix: hide items if the layer is disabled and favourites is enabled
This commit is contained in:
parent
92feccc146
commit
7bdd30879b
1 changed files with 3 additions and 0 deletions
|
@ -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((_) => {
|
||||
|
|
Loading…
Reference in a new issue