mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Some more changes
This commit is contained in:
parent
f6e1176295
commit
cfd01fa86e
3 changed files with 4 additions and 3 deletions
|
@ -91,7 +91,8 @@ namespace PlexRequests.Api
|
|||
var season = new Season
|
||||
{
|
||||
seasonNumber = i,
|
||||
monitored = seasons.Length == 0 || seasons.Any(x => x == i)
|
||||
// ReSharper disable once SimplifyConditionalTernaryExpression
|
||||
monitored = monitor ? seasons.Length == 0 || seasons.Any(x => x == i) : false
|
||||
};
|
||||
options.seasons.Add(season);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue