fix v-else placement

This commit is contained in:
Core 2022-09-11 03:06:57 +01:00
parent c8bd0a6aad
commit ce598e8b2c
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0

View file

@ -16,9 +16,9 @@
</button>
<template v-for="(item, position) in $root.search.hints.filter((a) => {return a.content != null})">
<mediaitem-smarthints :item="item.content" :position="position"> </mediaitem-smarthints>
</template>
</template>
</div>
</div>
</div>
<div class="btn-group searchToggle">
@ -39,10 +39,6 @@
<mediaitem-scroller-horizontal
:items="search.results[search.results.meta.results.order[0]]['data']"></mediaitem-scroller-horizontal>
<div class="row">
<div v-else style="text-align: center">
<h3>{{app.getLz('error.noResults')}}</h3>
<p>{{app.getLz('error.noResults.description')}}</p>
</div>
<div class="col" v-if="search.results.song">
<div class="row">
<div class="col">
@ -59,6 +55,10 @@
</listitem-horizontal>
</div>
</div>
<div v-else style="text-align: center">
<h3>{{app.getLz('error.noResults')}}</h3>
<p>{{app.getLz('error.noResults.description')}}</p>
</div>
</div>
<template v-if="search.results['meta'] != null">