Fix: fix filters in statistics.html

This commit is contained in:
Pieter Vander Vennet 2024-10-03 17:01:57 +02:00
parent fb3bf98f19
commit 5048da58e7

View file

@ -21,7 +21,7 @@
let layer: LayerConfig = filteredLayer.layerDef
let isDisplayed: UIEventSource<boolean> = filteredLayer.isDisplayed
let isDebugging = state.featureSwitches.featureSwitchIsDebugging
let isDebugging = state?.featureSwitches?.featureSwitchIsDebugging ?? new ImmutableStore(false)
/**
* Gets a UIEventSource as boolean for the given option, to be used with a checkbox