add
This commit is contained in:
parent
e212ec788b
commit
2ec36f32a8
|
@ -156,6 +156,7 @@ export async function setCourseInfo({ data }: { data: Post }) {
|
|||
sections.map((section) => section.id).includes(descendant.parentId)
|
||||
);
|
||||
});
|
||||
|
||||
sections.forEach((section) => {
|
||||
section.lectures = lectures.filter(
|
||||
(lecture) => lecture.parentId === section.id,
|
||||
|
|
Loading…
Reference in New Issue