From 8381a8a5444156ed3b010ffb70d60c9e2cb2f724 Mon Sep 17 00:00:00 2001 From: Adithya Anandsaikrishnan Date: Mon, 20 May 2024 16:33:39 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E2=9C=A8=20swapped=20sch?= =?UTF-8?q?eduled=20and=20unscheduled=20meetings=20in=20summary=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adithya Anandsaikrishnan --- src/routes/summary/+page.server.ts | 2 +- src/routes/summary/+page.svelte | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/summary/+page.server.ts b/src/routes/summary/+page.server.ts index f6607436..b538d24d 100644 --- a/src/routes/summary/+page.server.ts +++ b/src/routes/summary/+page.server.ts @@ -48,7 +48,7 @@ export const load: PageServerLoad = async ({ cookies }) => { } as unknown as ScheduledMeeting; }); - const unscheduledMeetings = meetingList.filter((meeting) => meeting.scheduled === false); + const unscheduledMeetings = meetingList.filter((meeting) => !meeting.scheduled); const unscheduled: UnscheduledMeeting[] = unscheduledMeetings.map((meeting) => { const startDate = meeting.startDate?.toLocaleDateString(); diff --git a/src/routes/summary/+page.svelte b/src/routes/summary/+page.svelte index 66c07d05..43a766a0 100644 --- a/src/routes/summary/+page.svelte +++ b/src/routes/summary/+page.svelte @@ -31,7 +31,7 @@ style:border-color={currentTab === 0 ? "oklch(var(--a))" : undefined} on:click={() => { currentTab = 0; - }}>ScheduledUnscheduled Scheduled