mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Episodes removed from queue re-appearing on refresh
Fixes #249 (cherry picked from commit 1a921c09e5180e283f52411dd2d0344a96015c0c)
This commit is contained in:
@@ -62,6 +62,11 @@ namespace NzbDrone.Core.Download.History
|
|||||||
// Events are ordered by date descending. We'll return the most recent expected event.
|
// Events are ordered by date descending. We'll return the most recent expected event.
|
||||||
foreach (var e in events)
|
foreach (var e in events)
|
||||||
{
|
{
|
||||||
|
if (e.EventType == DownloadHistoryEventType.DownloadIgnored)
|
||||||
|
{
|
||||||
|
return e;
|
||||||
|
}
|
||||||
|
|
||||||
if (e.EventType == DownloadHistoryEventType.DownloadGrabbed)
|
if (e.EventType == DownloadHistoryEventType.DownloadGrabbed)
|
||||||
{
|
{
|
||||||
return e;
|
return e;
|
||||||
|
|||||||
Reference in New Issue
Block a user