Skip to content

Commit

Permalink
fix: notification amount showing old number
Browse files Browse the repository at this point in the history
  • Loading branch information
vincit-matu authored and joonatank committed May 17, 2024
1 parent 7355b3e commit fff8fc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/ui/pages/reservation-unit/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,8 @@ const ReservationUnit = ({
isReservationQuotaReached ? "Full" : ""
}`,
{
count: userReservations?.length,
count:
reservationUnit.numActiveUserReservations ?? 0,
total: reservationUnit.maxReservationsPerUser,
}
)}
Expand Down

0 comments on commit fff8fc4

Please sign in to comment.