forked from MapComplete/MapComplete
Improve search UI
This commit is contained in:
parent
93f03ddbaf
commit
cd6fa08770
2 changed files with 3 additions and 3 deletions
|
@ -14,11 +14,11 @@
|
|||
|
||||
let dataIsLoading = state.dataIsLoading
|
||||
let currentState = state.hasDataInView
|
||||
currentState.data === ""
|
||||
const t = Translations.t.centerMessage
|
||||
const showingSearch = state.searchState.showSearchDrawer
|
||||
</script>
|
||||
|
||||
{#if $currentState === "has-visible-features"}
|
||||
{#if $currentState === "has-visible-features" || $showingSearch}
|
||||
<!-- don't show anything -->
|
||||
{:else if $currentState === "zoom-to-low"}
|
||||
<div class="alert w-fit p-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue