diff --git a/app/calendar/page.tsx b/app/calendar/page.tsx index 46bc057..03fc762 100644 --- a/app/calendar/page.tsx +++ b/app/calendar/page.tsx @@ -21,6 +21,11 @@ export default async function CalendarPage() { courses: { include: { instructor: true, + facultyMeet: { + include: { + meetingTimes: true, + }, + }, }, }, }, @@ -48,6 +53,10 @@ export default async function CalendarPage() { subject: courses[i]?.subject, courseNumber: courses[i]?.courseNumber, instructor: courses[i]?.instructor.displayName, + room: + courses[i]?.facultyMeet.meetingTimes.building + + " " + + courses[i]?.facultyMeet.meetingTimes.room, color: "rgba(0,0,0,0)", borderWidth: "0px", @@ -110,11 +119,11 @@ export default async function CalendarPage() { //let times = await getUniqueStartEndTimes(); return ( -
{eventInfo.event.title}