1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(bug) broken notifications if slot cancelled

This commit is contained in:
Sylvain 2022-12-22 15:12:56 +01:00
parent 00d841e2c6
commit ed4295b847
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
- Fix a bug: providing an array of attributes to filter OpenApi data, results in error
- Fix a bug: unable to manage stocks on new products
- Fix a bug: unsupported param[] syntax in OpenAPI
- Fix a bug: unable to access in-system notifications if a slot was cancelled
- Updated react-modal to 3.16.1
- Updated tiptap editor and its dependencies to 2.0.0-beta.204
- [TODO DEPLOY] `rails db:seed`

View File

@ -3,4 +3,4 @@
json.title notification.notification_type
json.description t('.your_reservation_RESERVABLE_of_DATE_was_successfully_cancelled',
RESERVABLE: notification.attached_object&.reservation&.reservable&.name,
DATE: I18n.l(notification.attached_object&.start_at, format: :long))
DATE: I18n.l(notification.attached_object&.slot&.start_at, format: :long))