A boatload of Bugs (#3704)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
parent
ea9b7ad0d1
commit
37734554ba
102 changed files with 2051 additions and 1115 deletions
|
@ -121,6 +121,8 @@ public class SeriesMetadata : IHasConcurrencyToken
|
|||
/// <returns></returns>
|
||||
public bool AllKavitaPlus(PersonRole role)
|
||||
{
|
||||
return People.Where(p => p.Role == role).All(p => p.KavitaPlusConnection);
|
||||
var people = People.Where(p => p.Role == role);
|
||||
if (people.Any()) return people.All(p => p.KavitaPlusConnection);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue