fix: disallow editing components in unit that come from libraries (#36914)

This commit is contained in:
Chris Chávez
2025-06-16 16:28:59 -05:00
committed by GitHub
parent 01d0e1d1a7
commit 854d04dd33

View File

@@ -211,12 +211,6 @@ upstream_info = UpstreamLink.try_get_for_block(xblock, log_error=False)
<span data-tooltip="${_('Drag to reorder')}" class="drag-handle action"></span>
</li>
% endif
% elif not show_inline:
<li class="action-item action-edit action-edit-view-only">
<a href="#" class="edit-button action-button">
<span class="action-button-text">${_("Details")}</span>
</a>
</li>
% endif
% endif
</ul>