Skip to content
Snippets Groups Projects
Unverified Commit 23443c43 authored by Jansen Kantor's avatar Jansen Kantor Committed by GitHub
Browse files

Revert "fix: Stop rendering Visibility and Move buttons on libraries (#26885)" (#27113)

This reverts commit 777bb633.
parent cbc803cd
No related branches found
No related tags found
No related merge requests found
......@@ -294,10 +294,10 @@ def _studio_wrap_xblock(xblock, view, frag, context, display_name_only=False):
'is_root': is_root,
'is_reorderable': is_reorderable,
'can_edit': context.get('can_edit', True),
'can_edit_visibility': context.get('can_edit_visibility', xblock.course_id.is_course),
'can_edit_visibility': context.get('can_edit_visibility', True),
'selected_groups_label': selected_groups_label,
'can_add': context.get('can_add', True),
'can_move': context.get('can_move', xblock.course_id.is_course),
'can_move': context.get('can_move', True),
'language': getattr(course, 'language', None)
}
......
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