diff --git a/src/UI/BigComponents/Filterview.svelte b/src/UI/BigComponents/Filterview.svelte index 8b6ec5288..f3b607196 100644 --- a/src/UI/BigComponents/Filterview.svelte +++ b/src/UI/BigComponents/Filterview.svelte @@ -66,7 +66,7 @@ /> - {filteredLayer.layerDef.name} + {#if $zoomlevel < layer.minzoom} @@ -82,7 +82,7 @@ {#if filter.options.length === 1 && filter.options[0].fields.length === 0} - {filter.options[0].question} + {/if} @@ -94,7 +94,7 @@ {#each filter.options as option, i} {/each} diff --git a/src/UI/BigComponents/FilterviewWithFields.svelte b/src/UI/BigComponents/FilterviewWithFields.svelte index 240997d7a..4268a34f9 100644 --- a/src/UI/BigComponents/FilterviewWithFields.svelte +++ b/src/UI/BigComponents/FilterviewWithFields.svelte @@ -6,6 +6,7 @@ import { UIEventSource } from "../../Logic/UIEventSource" import { onDestroy } from "svelte" import { Utils } from "../../Utils" + import Tr from "../Base/Tr.svelte" export let filteredLayer: FilteredLayer export let option: FilterConfigOption