mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 12:43:19 +02:00
Fixed: Movies removed from queue re-appearing on refresh
This commit is contained in:
parent
01e6fbddf4
commit
e6479e9a53
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue