diff --git a/app/features/calendar/loaders/calendar.new.server.ts b/app/features/calendar/loaders/calendar.new.server.ts index 2282a4bfd..7f755241b 100644 --- a/app/features/calendar/loaders/calendar.new.server.ts +++ b/app/features/calendar/loaders/calendar.new.server.ts @@ -84,8 +84,12 @@ export const loader = async ({ request }: LoaderFunctionArgs) => { user.isTournamentOrganizer && !eventToEdit ? await CalendarRepository.findRecentTournamentsByAuthorId(user.id) : undefined, - organizations: await TournamentOrganizationRepository.findByOrganizerUserId( - user.id, + organizations: ( + await TournamentOrganizationRepository.findByOrganizerUserId(user.id) + ).concat( + eventToEdit?.tournament?.ctx.organization + ? eventToEdit.tournament.ctx.organization + : [], ), }; };