diff --git a/web-src/src/webapi/index.js b/web-src/src/webapi/index.js index 4a2fda39..62610c75 100644 --- a/web-src/src/webapi/index.js +++ b/web-src/src/webapi/index.js @@ -424,7 +424,9 @@ export default { }, library_track(trackId) { - return axios.get(`./api/library/tracks/${trackId}`) + if (trackId) { // Temporary fix + return axios.get(`./api/library/tracks/${trackId}`) + } }, library_track_playlists(trackId) {