From 3dbfac7e8bb2e891d1402e3733f51830d9d686f7 Mon Sep 17 00:00:00 2001 From: Myles Fung Date: Mon, 16 Oct 2023 20:14:30 -0700 Subject: [PATCH 1/3] asdf --- csm_web/frontend/src/components/Policies.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/csm_web/frontend/src/components/Policies.tsx b/csm_web/frontend/src/components/Policies.tsx index b16fbaf4..10076c8f 100644 --- a/csm_web/frontend/src/components/Policies.tsx +++ b/csm_web/frontend/src/components/Policies.tsx @@ -25,6 +25,7 @@ export default class Policies extends React.Component { {intro.body.p1_a.text} {intro.body.p1}

+ asdf

{intro.body.p2}

From 32086f51ba49371c6de3aa150836a7e9883d053b Mon Sep 17 00:00:00 2001 From: Myles Fung Date: Wed, 13 Dec 2023 23:38:45 -0800 Subject: [PATCH 2/3] missing space added --- csm_web/frontend/src/components/CourseMenu.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/csm_web/frontend/src/components/CourseMenu.tsx b/csm_web/frontend/src/components/CourseMenu.tsx index aa121ad2..94a8dc0b 100644 --- a/csm_web/frontend/src/components/CourseMenu.tsx +++ b/csm_web/frontend/src/components/CourseMenu.tsx @@ -215,7 +215,7 @@ const EnrollmentMenu = ({ courses }: EnrollmentMenuProps) => { return (

Which course would you like to enroll in?

- {courses !== null ? ( + {courses !== null && courses.size !== 0 ? (
{Array.from(courses.entries()).map(([id, course]) => ( @@ -224,7 +224,10 @@ const EnrollmentMenu = ({ courses }: EnrollmentMenuProps) => { ))}
) : ( - +
+

+

Enrollment Times: TBD

+
)}
); From 701102a3dbbcaf1fc4eb2715914508903674cb0b Mon Sep 17 00:00:00 2001 From: Myles Fung Date: Wed, 13 Dec 2023 23:42:17 -0800 Subject: [PATCH 3/3] removed 'asdf' --- csm_web/frontend/src/components/Policies.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/csm_web/frontend/src/components/Policies.tsx b/csm_web/frontend/src/components/Policies.tsx index 10076c8f..b16fbaf4 100644 --- a/csm_web/frontend/src/components/Policies.tsx +++ b/csm_web/frontend/src/components/Policies.tsx @@ -25,7 +25,6 @@ export default class Policies extends React.Component { {intro.body.p1_a.text} {intro.body.p1}

- asdf

{intro.body.p2}