mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed: Movies removed from queue re-appearing on refresh
This commit is contained in:
parent
01e6fbddf4
commit
e6479e9a53
@ -59,6 +59,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 New Issue
Block a user