Skip to content

Commit

Permalink
fix: filter semesters summary properly
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Apr 7, 2024
1 parent 404a6b5 commit bc327a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/domain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class Domain {
: undefined,
}
})
.filter(({ hoursTotal, fitnessTest }) => !!hoursTotal || !!fitnessTest)
.filter(({ hoursTotal, fitnessTest }) => hoursTotal != null || fitnessTest != null)
}

private async requestSport<M extends keyof SportClient>(
Expand Down

0 comments on commit bc327a4

Please sign in to comment.