[web] Replace hard-coded loading text in Spotify search page with loading icon
This commit is contained in:
parent
65e95d79e5
commit
4d475678d3
|
@ -26,6 +26,7 @@ import {
|
|||
mdiFolder,
|
||||
mdiFolderOpen,
|
||||
mdiHistory,
|
||||
mdiLoading,
|
||||
mdiMagnify,
|
||||
mdiMenu,
|
||||
mdiMicrophone,
|
||||
|
@ -90,6 +91,7 @@ export const icons = {
|
|||
mdiFolder,
|
||||
mdiFolderOpen,
|
||||
mdiHistory,
|
||||
mdiLoading,
|
||||
mdiMagnify,
|
||||
mdiMenu,
|
||||
mdiMicrophone,
|
||||
|
|
|
@ -61,7 +61,14 @@
|
|||
v-if="query.type === 'track'"
|
||||
:load="search_tracks_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> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-track-spotify
|
||||
:show="show_track_details_modal"
|
||||
|
@ -116,7 +123,14 @@
|
|||
v-if="query.type === 'artist'"
|
||||
:load="search_artists_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> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-artist-spotify
|
||||
:show="show_artist_details_modal"
|
||||
|
@ -181,7 +195,14 @@
|
|||
v-if="query.type === 'album'"
|
||||
:load="search_albums_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> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-album-spotify
|
||||
:show="show_album_details_modal"
|
||||
|
@ -235,7 +256,14 @@
|
|||
v-if="query.type === 'playlist'"
|
||||
:load="search_playlists_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> </template>
|
||||
</VueEternalLoading>
|
||||
<modal-dialog-playlist-spotify
|
||||
:show="show_playlist_details_modal"
|
||||
|
|
Loading…
Reference in New Issue