Moved event modal states and functions to event store

This commit is contained in:
Alexis
2024-06-05 18:28:38 +02:00
parent 28cdffa90b
commit 6749fdb46e
5 changed files with 152 additions and 15 deletions

View File

@@ -11,8 +11,8 @@ import {
PhDotsThreeOutlineVertical
} from '@phosphor-icons/vue'
const { defaultDate, getFormattedDateTitle, jumpToDate, revealEditEventModal, getRelativeString } = useCalendar()
const { deleteEvent } = useCalendarEvents()
const { defaultDate, getFormattedDateTitle, jumpToDate, getRelativeString } = useCalendar()
const { deleteEvent, revealEditEventModal } = useCalendarEvents()
const { lastActiveEvent } = storeToRefs(useCalendarEvents())
const props = defineProps<{