Added live update after attendance set
This commit is contained in:
@@ -72,6 +72,8 @@ const myAttendance = computed<CalendarSignup | null>(() => {
|
||||
|
||||
async function setAttendance(state: CalendarAttendance) {
|
||||
setCalendarEventAttendance(activeEvent.value.id, state);
|
||||
//refresh event data
|
||||
activeEvent.value = await getCalendarEvent(activeEvent.value.id);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user