From dae6d1eebc5aecae0da366453f4d4681a62b4b48 Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Thu, 23 Nov 2023 21:27:05 +0100 Subject: [PATCH] [web] Fix temporarily the bug #1688 --- web-src/src/webapi/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {