Navigate to downloads page when wishlist is already processing

Clicking the Download Wishlist button while auto-processing was active
only showed a toast telling the user to check the Downloads page. Now
navigates there directly so progress is immediately visible.
pull/315/head
Broque Thomas 4 weeks ago
parent 6989701d65
commit 5e62229d00

@ -40739,7 +40739,9 @@ async function _nebulaDownload() {
if (statsResp.ok) {
const stats = await statsResp.json();
if (stats.is_auto_processing) {
showToast('Wishlist is currently being auto-processed. Check the Downloads page for progress.', 'info');
// Navigate to downloads page so the user can see progress
navigateToPage('active-downloads');
showToast('Wishlist is currently being auto-processed', 'info');
return;
}
}

Loading…
Cancel
Save