[FIX] Calendar : Prevent corruption of calendar modal when there is no calendar at creation of an event
When there is no calendar and you want to create an event by clicking on a date, the page is loaded in the modal. To prevent this, the user is taken to the error page when there is no event yet.
Ticket : https://avan.tech/item74770
Before :
After modification :