Skip to content

Commit

Permalink
feat: update component order
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Nov 11, 2024
1 parent f9e0715 commit a8d5aed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cms/djangoapps/contentstore/views/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@

# NOTE: This list is disjoint from ADVANCED_COMPONENT_TYPES
COMPONENT_TYPES = [
'discussion',
'library',
'library_v2', # Not an XBlock
'itembank',
'html',
'openassessment',
'problem',
'video',
'problem',
'itembank',
'library_v2', # Not an XBlock
'library',
'discussion',
'openassessment',
'drag-and-drop-v2',
]

Expand Down Expand Up @@ -472,7 +472,7 @@ def create_support_legend_dict():
course_advanced_keys
)
if advanced_component_templates['templates']:
component_templates.insert(0, advanced_component_templates)
component_templates.append(advanced_component_templates)

return component_templates

Expand Down

0 comments on commit a8d5aed

Please sign in to comment.