[client] Fix guest search disclaimer not being displayed properly

This commit is contained in:
Laura Hausmann 2023-11-19 03:56:21 +01:00
parent b346cc20d9
commit 78c5e1dcdb
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -26,7 +26,7 @@
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >
<swiper-slide> <swiper-slide>
<template v-if="$i && tabs[swiperRef!.activeIndex] == 'notes'"> <template v-if="$i">
<template v-if="searchQuery == null || searchQuery.trim().length < 1"> <template v-if="searchQuery == null || searchQuery.trim().length < 1">
<transition :name="$store.state.animation ? 'zoom' : ''" appear> <transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div class="_fullinfo" ref="notes"> <div class="_fullinfo" ref="notes">
@ -41,11 +41,11 @@
</div> </div>
</transition> </transition>
</template> </template>
<template v-else> <template v-else-if="tabs[swiperRef!.activeIndex] == 'notes'">
<XNotes ref="notes" :pagination="notesPagination" /> <XNotes ref="notes" :pagination="notesPagination" />
</template> </template>
</template> </template>
<template> <template v-else>
<transition :name="$store.state.animation ? 'zoom' : ''" appear> <transition :name="$store.state.animation ? 'zoom' : ''" appear>
<div class="_fullinfo" ref="notes"> <div class="_fullinfo" ref="notes">
<img <img