Skip to content
Snippets Groups Projects
Commit a41d9a54 authored by Diana Huang's avatar Diana Huang
Browse files

Prevent duplication of tabs with different names.

parent 79a63bbe
No related branches found
No related tags found
No related merge requests found
......@@ -999,7 +999,6 @@ def _refresh_course_tabs(request, course_module):
"""
tab_panel = {
"type": tab_type.name,
"name": tab_type.title,
}
has_tab = tab_panel in tabs
if tab_enabled and not has_tab:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment