[web] Fix for unexpected calls to the API #1688

Lyrics feature doesn't mess anymore when the user is playing tracks from Spotify
This commit is contained in:
Alain Nussbaumer
2023-11-24 13:58:30 +01:00
parent f19e9fb48b
commit 91c1e5b174
4 changed files with 31 additions and 42 deletions

View File

@@ -424,9 +424,7 @@ export default {
},
library_track(trackId) {
if (trackId) { // Temporary fix
return axios.get(`./api/library/tracks/${trackId}`)
}
return axios.get(`./api/library/tracks/${trackId}`)
},
library_track_playlists(trackId) {