1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-07-13 18:16:24 +02:00

DownloadAvailableChaptersJob.cs only create DownloadSingleChapterJobs for Chapters that have not been downloaded

This commit is contained in:
2025-05-16 22:00:17 +02:00
parent 937c5cb7a7
commit 3283dd7290

@ -36,6 +36,6 @@ public class DownloadAvailableChaptersJob : Job
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
return Manga.Chapters.Select(chapter => new DownloadSingleChapterJob(chapter, this));
return Manga.Chapters.Where(c => c.Downloaded == false).Select(chapter => new DownloadSingleChapterJob(chapter, this));
}
}