mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add additional check for marked lectures
This commit is contained in:
parent
a9c3d24c62
commit
ced2011394
2 changed files with 1 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ function LecturePage(params: any) {
|
|||
{lecture.type == "video" && <VideoLecture course={course} lecture={lecture} />}
|
||||
|
||||
<ActivityMarkerWrapper>
|
||||
{course.activity.lectures_marked_complete.includes("lecture_"+lectureid) ? (
|
||||
{course.activity.lectures_marked_complete.includes("lecture_"+lectureid) && course.activity.status == "ongoing" ? (
|
||||
<button style={{ backgroundColor: "green" }}>
|
||||
<i>
|
||||
<Check size={20}></Check>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue