Fixed the 'loop' in the cacher #2429

pull/2452/head
Jamie 6 years ago
parent b60e802ba7
commit e4f90e6c17

@ -8,7 +8,7 @@ namespace Ombi.Schedule.Jobs.Plex.Models
public IEnumerable<int> Content { get; set; } public IEnumerable<int> Content { get; set; }
public IEnumerable<int> Episodes { get; set; } public IEnumerable<int> Episodes { get; set; }
public bool HasProcessedContent => Content.Any(); public bool HasProcessedContent => Content?.Any() ?? false;
public bool HasProcessedEpisodes => Episodes.Any(); public bool HasProcessedEpisodes => Episodes?.Any() ?? false;
} }
} }
Loading…
Cancel
Save