Prevent duplication of tabs with different names.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user