1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) members can't change/cancel their reservations

This commit is contained in:
Sylvain 2023-03-02 09:27:06 +01:00
parent e467a084b5
commit 06c66d896b
2 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,12 @@
# Changelog Fab-manager
- Fix a bug: members can't change/cancel their reservations
## v5.7.2 2023 February 24
- Fix a bug: unable to update recurrent events
- Fix a bug: invalid border color for slots
- Fix a bug: members can change/cancel their reservations
- Fix a bug: members can't change/cancel their reservations
## v5.7.1 2023 February 20

View File

@ -10,7 +10,7 @@ json.is_completed slot.full?(reservable)
json.backgroundColor 'white'
json.availability_id slot.availability_id
json.slots_reservations_ids Slots::ReservationsService.user_reservations(slot, user, reservable)[:reservations]
json.slots_reservations_ids Slots::ReservationsService.user_reservations(slot, user, reservable)[:reservations].map(&:id)
json.tag_ids slot.availability.tag_ids
json.tags slot.availability.tags do |t|