1
0
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:
Mark McDowall 2020-04-25 14:12:38 -07:00 committed by Qstick
parent 01e6fbddf4
commit e6479e9a53

View File

@ -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;