diff --git a/ui/src/components/calendar/ViewCalendarEvent.vue b/ui/src/components/calendar/ViewCalendarEvent.vue index ee47cba..355f7a4 100644 --- a/ui/src/components/calendar/ViewCalendarEvent.vue +++ b/ui/src/components/calendar/ViewCalendarEvent.vue @@ -80,6 +80,7 @@ async function setAttendance(state: CalendarAttendance) { const canEditEvent = computed(() => { if (!userStore.isLoggedIn) return false; + if (userStore.state !== 'member') return false; if (userStore.user.member.member_id == activeEvent.value.creator_id) return true; }); @@ -215,7 +216,7 @@ defineExpose({ forceReload }) This event has been cancelled -
+
-