Fix tests

This commit is contained in:
Pieter Vander Vennet 2023-12-06 12:25:47 +01:00
parent 6b8bf304e6
commit f7ed2d7c54

View file

@ -634,6 +634,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
const rangeFLayer: FilteredLayer = this.layerState.filteredLayers.get("range")
const rangeIsDisplayed = rangeFLayer?.isDisplayed
if (
rangeFLayer &&
!QueryParameters.wasInitialized(FilteredLayer.queryParameterKey(rangeFLayer.layerDef))
) {
rangeIsDisplayed?.syncWith(this.featureSwitches.featureSwitchIsTesting, true)