diff --git a/webui/static/script.js b/webui/static/script.js index 610038b9..6e01be7e 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -22935,6 +22935,10 @@ function bulkCompleteSearchDownloads(artistName) { if (process && process.modalElement) { console.log(`๐Ÿ—‘๏ธ Closing modal for: ${download.item.name}`); closeDownloadMissingModal(download.virtualPlaylistId); + } else { + // No modal open โ€” clean up the bubble entry directly + console.log(`๐Ÿงน Direct cleanup (no modal) for: ${download.item.name}`); + cleanupSearchDownload(download.virtualPlaylistId); } }); @@ -23368,7 +23372,9 @@ function bulkCompleteArtistDownloads(artistId) { // Trigger the close function which handles cleanup closeDownloadMissingModal(download.virtualPlaylistId); } else { - console.warn(`โš ๏ธ No active process or modal found for: ${download.album.name}`); + // No modal open โ€” clean up the bubble entry directly + console.log(`๐Ÿงน Direct cleanup (no modal) for: ${download.album.name}`); + cleanupArtistDownload(download.virtualPlaylistId); } });