Skip to content
Snippets Groups Projects
Commit 21e338f7 authored by Adam's avatar Adam
Browse files

Merge pull request #8506 from edx/diana/fix-tab-duplication

Prevent duplication of tabs with different names.
parents 79a63bbe a41d9a54
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