From 36e16dd76f23a11647cba71ccf3c19d809588665 Mon Sep 17 00:00:00 2001 From: gahyuun Date: Sun, 16 Jun 2024 19:07:43 +0900 Subject: [PATCH] feat: implement closed lecture --- app/ui/lecture/lecture-search/lecture-search-bar.tsx | 3 ++- app/ui/lecture/lecture-search/lecture-search-result.tsx | 2 +- app/ui/lecture/taken-lecture/delete-taken-lecture-button.tsx | 2 +- app/ui/view/molecule/list/list-row.tsx | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/ui/lecture/lecture-search/lecture-search-bar.tsx b/app/ui/lecture/lecture-search/lecture-search-bar.tsx index 96d6b7af..8404a791 100644 --- a/app/ui/lecture/lecture-search/lecture-search-bar.tsx +++ b/app/ui/lecture/lecture-search/lecture-search-bar.tsx @@ -38,7 +38,7 @@ export default function LectureSearchBar() { -
+
+
※ 회색으로 표기된 과목은 폐강과목입니다
); diff --git a/app/ui/lecture/lecture-search/lecture-search-result.tsx b/app/ui/lecture/lecture-search/lecture-search-result.tsx index 99e16488..dcb3dcd6 100644 --- a/app/ui/lecture/lecture-search/lecture-search-result.tsx +++ b/app/ui/lecture/lecture-search/lecture-search-result.tsx @@ -14,7 +14,7 @@ export default function LectureSearchResult() { const render = (item: SearchedLectureInfoResponse, index: number) => { const searchLectureItem = item; return ( - + {Object.keys(searchLectureItem).map((key, index) => { if (key === 'id' || key === 'taken' || key === 'revoked') return null; diff --git a/app/ui/lecture/taken-lecture/delete-taken-lecture-button.tsx b/app/ui/lecture/taken-lecture/delete-taken-lecture-button.tsx index e451be5f..1c07d46c 100644 --- a/app/ui/lecture/taken-lecture/delete-taken-lecture-button.tsx +++ b/app/ui/lecture/taken-lecture/delete-taken-lecture-button.tsx @@ -43,7 +43,7 @@ export default function DeleteTakenLectureButton({ lectureId, onDelete }: Delete >