mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 14:09:51 -05:00
[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user