diff --git a/MeetUpPlanner/Client/Pages/Calendar.razor b/MeetUpPlanner/Client/Pages/Calendar.razor index a476e32..2f9ef5e 100644 --- a/MeetUpPlanner/Client/Pages/Calendar.razor +++ b/MeetUpPlanner/Client/Pages/Calendar.razor @@ -540,7 +540,8 @@ } protected bool CheckIfCoGuideIsWanted(ExtendedCalendarItem calendarItem) { - return (KeywordCheck.IsUser && calendarItem.MaxCoGuidesCount > 0); + Participant registered = calendarItem.FindParticipant(AppStateStore.FirstName, AppStateStore.LastName); + return (KeywordCheck.IsUser && calendarItem.MaxCoGuidesCount > 0 && (null == registered || !registered.IsCoGuide)); } protected bool CheckIfUserIsHost(ExtendedCalendarItem calendarItem) {