Skip to content

Commit

Permalink
removed condition for subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
venkata-s123 authored Dec 16, 2024
1 parent 6663dfd commit d5bad70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lms/djangoapps/course_home_api/outline/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def get(self, request, *args, **kwargs): # pylint: disable=too-many-statements
course_blocks['children'] = [
chapter_data
for chapter_data in course_blocks.get('children', [])
if chapter_data['id'] in available_section_ids
]

# course_blocks is a reference to the root of the course, so we go
Expand Down

0 comments on commit d5bad70

Please sign in to comment.