Skip to content

Commit

Permalink
Merge pull request #8 from SimonB50/main
Browse files Browse the repository at this point in the history
Librusek v0.2.1
  • Loading branch information
SimonB50 authored Oct 14, 2024
2 parents b475a93 + fc356ba commit c0c8093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/attendance.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ const Attendance = () => {
attendanceData.Attendances.filter(
(x) =>
lessonsData.Lessons.find((y) => x.Lesson.Id === y.Id)
.Subject.Id === subject.Id && attendanceTypesData.Types.find((y) => y.Id == x.Type.Id).IsPresenceKind == true
.Subject.Id === subject.Id
).length
).toFixed(2) * 100;

return (
<div
key={subject.Id}
Expand Down

0 comments on commit c0c8093

Please sign in to comment.