mirror of
https://github.com/Readarr/Readarr
synced 2025-12-14 12:24:49 +01:00
Fixed: Episodes removed from queue re-appearing on refresh
Fixes #249 (cherry picked from commit 1a921c09e5180e283f52411dd2d0344a96015c0c)
This commit is contained in:
parent
8dbd006978
commit
6fb24128f8
1 changed files with 5 additions and 0 deletions
|
|
@ -62,6 +62,11 @@ public DownloadHistory GetLatestDownloadHistoryItem(string downloadId)
|
|||
// Events are ordered by date descending. We'll return the most recent expected event.
|
||||
foreach (var e in events)
|
||||
{
|
||||
if (e.EventType == DownloadHistoryEventType.DownloadIgnored)
|
||||
{
|
||||
return e;
|
||||
}
|
||||
|
||||
if (e.EventType == DownloadHistoryEventType.DownloadGrabbed)
|
||||
{
|
||||
return e;
|
||||
|
|
|
|||
Loading…
Reference in a new issue