Fixed favorites issues
This commit is contained in:
parent
59b2cb2e69
commit
e0a8bc997e
@ -19,11 +19,11 @@ const setAllFavorites = data => {
|
|||||||
|
|
||||||
isRefreshingFavorites.value = false
|
isRefreshingFavorites.value = false
|
||||||
|
|
||||||
favoriteArtists.value = artists
|
favoriteArtists.value = artists || []
|
||||||
favoriteAlbums.value = albums
|
favoriteAlbums.value = albums || []
|
||||||
favoritePlaylists.value = playlists
|
favoritePlaylists.value = playlists || []
|
||||||
favoriteTracks.value = tracks
|
favoriteTracks.value = tracks || []
|
||||||
lovedTracksPlaylist.value = lovedTracks
|
lovedTracksPlaylist.value = lovedTracks || []
|
||||||
}
|
}
|
||||||
|
|
||||||
const setSpotifyPlaylists = response => {
|
const setSpotifyPlaylists = response => {
|
||||||
@ -34,7 +34,7 @@ const setSpotifyPlaylists = response => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
favoriteSpotifyPlaylists.value = response
|
favoriteSpotifyPlaylists.value = response || []
|
||||||
}
|
}
|
||||||
|
|
||||||
const refreshFavorites = async ({ isInitial = false }) => {
|
const refreshFavorites = async ({ isInitial = false }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user