Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

feat: Update Logic for Entering Course Content Based on Course Outline #1840

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ public CourseComponent getFirstIncompleteComponent() {
}
}
if (children.size() > 0) {
return children.get(children.size() - 1);
return children.get(0);
} else {
return null;
}
Expand All @@ -622,7 +622,7 @@ public CourseComponent getFirstIncompleteVideoComponent() {
}
}
if (videos.size() > 0) {
return videos.get(videos.size() - 1);
return videos.get(0);
} else {
return null;
}
Expand Down
Loading