Do not show quickswitch if background map switching is disabled

This commit is contained in:
Pieter Vander Vennet 2021-12-04 12:20:24 +01:00
parent e21f7f4dee
commit 2bead588fb
4 changed files with 12 additions and 5 deletions

View file

@ -20,7 +20,7 @@ export default class FilterView extends VariableUiElement {
const backgroundSelector = new Toggle(
new BackgroundSelector(),
undefined,
State.state.featureSwitchBackgroundSlection
State.state.featureSwitchBackgroundSelection
)
super(
filteredLayer.map((filteredLayers) => {