From 9457235080dc2dd4d381faf0615be44e9180fe25 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Wed, 18 Feb 2026 12:03:59 -0800 Subject: [PATCH] clean up artist bubbles from past downloads --- webui/static/script.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); } });