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

This reverts commit 777bb633c5.
This commit is contained in:
Jansen Kantor
2021-03-23 11:35:14 -04:00
committed by GitHub
parent cbc803cd15
commit 23443c4376

View File

@@ -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)
}