Fix: build

This commit is contained in:
Pieter Vander Vennet 2024-11-05 20:00:47 +01:00
parent a2e1edd6c5
commit 70612f1c12

View file

@ -994,7 +994,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
})
this.layerState.filteredLayers.get("favourite").isDisplayed.addCallbackAndRunD(favouritesShown => {
this.layerState.filteredLayers.get("favourite")?.isDisplayed?.addCallbackAndRunD(favouritesShown => {
const oldGlobal = this.layerState.globalFilters.data
const key = "show-favourite"
if(favouritesShown){