Added live update after attendance set

This commit is contained in:
2025-11-25 22:04:33 -05:00
parent 1a714289ee
commit 560a82cc09

View File

@@ -72,6 +72,8 @@ const myAttendance = computed<CalendarSignup | null>(() => {
async function setAttendance(state: CalendarAttendance) { async function setAttendance(state: CalendarAttendance) {
setCalendarEventAttendance(activeEvent.value.id, state); setCalendarEventAttendance(activeEvent.value.id, state);
//refresh event data
activeEvent.value = await getCalendarEvent(activeEvent.value.id);
} }
</script> </script>