Skip to content

Commit

Permalink
[web] Replace hard-coded loading text in Spotify artist and playlist …
Browse files Browse the repository at this point in the history
…pages with loading icon
  • Loading branch information
hacketiwack committed Jan 28, 2024
1 parent 4030dfb commit 4bab3a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion web-src/src/pages/PageArtistSpotify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@
</template>
</list-item-album-spotify>
<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>
<modal-dialog-artist-spotify
:show="show_details_modal"
Expand Down
9 changes: 8 additions & 1 deletion web-src/src/pages/PagePlaylistTracksSpotify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@
</template>
</list-item-track-spotify>
<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>
<modal-dialog-track-spotify
:show="show_track_details_modal"
Expand Down

0 comments on commit 4bab3a4

Please sign in to comment.