[web] Replace hard-coded loading text in Spotify artist and playlist pages with loading icon

This commit is contained in:
Alain Nussbaumer 2024-01-28 19:02:18 +01:00
parent 4030dfbad7
commit 4bab3a448b
2 changed files with 16 additions and 2 deletions

View File

@ -50,7 +50,14 @@
</template> </template>
</list-item-album-spotify> </list-item-album-spotify>
<VueEternalLoading v-if="offset < total" :load="load_next"> <VueEternalLoading v-if="offset < total" :load="load_next">
<template #no-more> . </template> <template #loading>
<div class="columns is-centered">
<div class="column has-text-centered">
<mdicon class="icon mdi-spin" name="loading" />
</div>
</div>
</template>
<template #no-more>&nbsp;</template>
</VueEternalLoading> </VueEternalLoading>
<modal-dialog-artist-spotify <modal-dialog-artist-spotify
:show="show_details_modal" :show="show_details_modal"

View File

@ -43,7 +43,14 @@
</template> </template>
</list-item-track-spotify> </list-item-track-spotify>
<VueEternalLoading v-if="offset < total" :load="load_next"> <VueEternalLoading v-if="offset < total" :load="load_next">
<template #no-more> . </template> <template #loading>
<div class="columns is-centered">
<div class="column has-text-centered">
<mdicon class="icon mdi-spin" name="loading" />
</div>
</div>
</template>
<template #no-more>&nbsp;</template>
</VueEternalLoading> </VueEternalLoading>
<modal-dialog-track-spotify <modal-dialog-track-spotify
:show="show_track_details_modal" :show="show_track_details_modal"