20-calendar-system #37

Merged
Ajdj100 merged 25 commits from 20-calendar-system into main 2025-11-28 00:06:10 -06:00
Showing only changes of commit 4dc121c018 - Show all commits

View File

@@ -124,6 +124,7 @@ const calendarOptions = ref({
calendarOptions.value.datesSet = onDatesSet calendarOptions.value.datesSet = onDatesSet
watch(() => route.params.id, async (newID) => { watch(() => route.params.id, async (newID) => {
console.log(newID)
if (newID === undefined) { if (newID === undefined) {
panelOpen.value = false; panelOpen.value = false;
currentEventID.value = null; currentEventID.value = null;
@@ -131,7 +132,7 @@ watch(() => route.params.id, async (newID) => {
panelOpen.value = true; panelOpen.value = true;
currentEventID.value = Number(newID); currentEventID.value = Number(newID);
} }
}) }, { immediate: true })
watch(panelOpen, async () => { watch(panelOpen, async () => {