From cd965f61e81b9c319a8d370c2c98a2688206f1df Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Thu, 19 Dec 2024 13:52:15 +0100 Subject: [PATCH] Fixed event creation popover appearing for anon users --- components/calendar/state/monthly/DayTile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/calendar/state/monthly/DayTile.vue b/components/calendar/state/monthly/DayTile.vue index aee9bb2..7c0e8ff 100644 --- a/components/calendar/state/monthly/DayTile.vue +++ b/components/calendar/state/monthly/DayTile.vue @@ -16,7 +16,7 @@ const calendarTile = ref() const calendarEventsList = ref() const { defaultDate, selectDate, areDatesIdentical } = useCalendar() -const { selectedDate, currentEvents } = storeToRefs(useCalendar()) +const { selectedDate, currentEvents, isReadOnly } = storeToRefs(useCalendar()) /** * All events with a startDate / endDate that starts or ends on the tile @@ -143,7 +143,7 @@ const eventsNotDisplayed: ComputedRef = computed(() => eventsFo - +