diff --git a/renderer/app.js b/renderer/app.js index 6914a96..108ab49 100644 --- a/renderer/app.js +++ b/renderer/app.js @@ -1354,8 +1354,8 @@ function _markSkippedJobs(result) { async function startSelectedUpload() { if (uploading) { - // Batch already running — add selected jobs to the running batch - const retryable = queueJobs.filter(j => selectedJobIds.has(j.id) && ['queued', 'error', 'aborted', 'skipped'].includes(j.status)); + // Batch already running — only add error/aborted/skipped jobs (not already-queued ones) + const retryable = queueJobs.filter(j => selectedJobIds.has(j.id) && ['error', 'aborted', 'skipped'].includes(j.status)); if (retryable.length > 0) { retryable.forEach(j => { j.status = 'queued'; j.error = null; j.result = null; @@ -1367,6 +1367,13 @@ async function startSelectedUpload() { }); _markSkippedJobs(result); persistQueueStateSoon(); + showCopyToast(`${retryable.length} Jobs zum laufenden Upload hinzugefügt`); + } else { + // All selected jobs are already queued/uploading — just inform user + const waiting = queueJobs.filter(j => selectedJobIds.has(j.id) && j.status === 'queued'); + if (waiting.length > 0) { + showCopyToast(`${waiting.length} Jobs warten bereits auf ihren Upload-Slot`); + } } return; }