Apply style suggestions from code review

Co-authored-by: Mark McDowall <markus.mcd5@gmail.com>
This commit is contained in:
jbstark 2024-07-22 18:36:57 -07:00 committed by GitHub
parent 69f771ad5e
commit 151c9d8bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -202,15 +202,18 @@ export const filterPredicates = {
if (seasonNumber <= 0) {
return acc;
}
if (monitored) {
acc.monitoredCount++;
} else {
acc.unmonitoredCount++;
}
return acc;
}, { monitoredCount: 0, unmonitoredCount: 0 });
let seasonsMonitoredStatus = 'partial';
if (monitoredCount === 0) {
seasonsMonitoredStatus = 'none';
} else if (unmonitoredCount === 0) {