From 57b0833fe284dca6596faa251d6cf937051d04b2 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Wed, 3 Sep 2025 13:53:10 -0700 Subject: [PATCH] 'starting...' wasn't needed --- webui/static/script.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/webui/static/script.js b/webui/static/script.js index 9709b456..686fdd6f 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -7442,7 +7442,10 @@ function updateTidalCardSyncProgress(playlistId, progress) { `; } - progressElement.innerHTML = statusCounterHTML || '
🔄 Starting...
'; + // Only update if we have valid sync progress, otherwise preserve existing discovery results + if (statusCounterHTML) { + progressElement.innerHTML = statusCounterHTML; + } console.log(`🎵 Updated Tidal card sync progress: ♪ ${progress?.total_tracks || 0} / ✓ ${progress?.matched_tracks || 0} / ✗ ${progress?.failed_tracks || 0}`); } @@ -8895,7 +8898,10 @@ function updateYouTubeCardSyncProgress(urlHash, progress) { `; } - progressElement.innerHTML = statusCounterHTML || '
🔄 Starting...
'; + // Only update if we have valid sync progress, otherwise preserve existing discovery results + if (statusCounterHTML) { + progressElement.innerHTML = statusCounterHTML; + } console.log(`🔄 Updated YouTube sync progress: ♪ ${progress?.total_tracks || 0} / ✓ ${progress?.matched_tracks || 0} / ✗ ${progress?.failed_tracks || 0}`); }