Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 046a8f8

Browse files
committed
Revert "fix: notification amount showing old number"
This reverts commit fff8fc4.
1 parent 18ec194 commit 046a8f8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/ui/pages/reservation-unit/[id].tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,7 @@ const ReservationUnit = ({
10911091
isReservationQuotaReached ? "Full" : ""
10921092
}`,
10931093
{
1094-
count:
1095-
reservationUnit.numActiveUserReservations ?? 0,
1094+
count: userReservations?.length,
10961095
total: reservationUnit.maxReservationsPerUser,
10971096
}
10981097
)}

0 commit comments

Comments
 (0)