diff --git a/frontend/src/pages/admin/AdminStudentAssignment.jsx b/frontend/src/pages/admin/AdminStudentAssignment.jsx index 8c718c7..c29c35e 100644 --- a/frontend/src/pages/admin/AdminStudentAssignment.jsx +++ b/frontend/src/pages/admin/AdminStudentAssignment.jsx @@ -116,7 +116,9 @@ const AdminStudentAssignment = () => { )}
- {weeks.map((weekItem, weekIdx) => ( + {weeks + .filter((weekItem) => Number(weekItem.week) === Number(week)) + .map((weekItem, weekIdx) => (

{weekItem.label}

{weekItem.days.map((dayItem, dayIdx) => ( @@ -153,7 +155,6 @@ const AdminStudentAssignment = () => {
))}
- ))} diff --git a/frontend/src/pages/admin/AdminStudentAssignment.module.css b/frontend/src/pages/admin/AdminStudentAssignment.module.css index 734823f..33cfa70 100644 --- a/frontend/src/pages/admin/AdminStudentAssignment.module.css +++ b/frontend/src/pages/admin/AdminStudentAssignment.module.css @@ -24,8 +24,8 @@ /* 주차 구간 */ .weekBlock { - border-left: 4px solid #00c851; - background-color: #2d2d2d; + /*border-left: 4px solid #00c851; + background-color: #2d2d2d;*/ border-radius: 10px; padding: 16px; }