Skip to content

Commit

Permalink
Merge branch 'feature/yearly-report2' into test-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
jhagberg committed Dec 29, 2024
2 parents dbc4f7e + fd3e35c commit 206cc5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/utils/rabbit_filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function filterRabbitsForYearlyReport(

for (const individual of individuals) {
// Skip rabbits without certificates
if (!individual.certificate) {
if (!individual.certificate && !individual.digital_certificate) {
continue;
}

Expand Down Expand Up @@ -212,7 +212,6 @@ export function filterRabbitsForYearlyReport(
endDate
);

// If the rabbit has valid measurements, add to canSkip
if (hasValidMeasurements) {
canSkip.push(individual);
} else {
Expand Down

0 comments on commit 206cc5b

Please sign in to comment.