'starting...' wasn't needed
This commit is contained in:
parent
36cc15f0a9
commit
57b0833fe2
1 changed files with 8 additions and 2 deletions
|
|
@ -7442,7 +7442,10 @@ function updateTidalCardSyncProgress(playlistId, progress) {
|
|||
`;
|
||||
}
|
||||
|
||||
progressElement.innerHTML = statusCounterHTML || '<div class="playlist-card-sync-status">🔄 Starting...</div>';
|
||||
// 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 || '<div class="playlist-card-sync-status">🔄 Starting...</div>';
|
||||
// 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}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue