fix: "Copy Unit" button should be behind enable_copy_paste_units flag - #33867
Conversation
|
Thanks for the pull request, @bradenmacdonald! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
@bradenmacdonald 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
Sandbox destroy request received. |
2 similar comments
|
Sandbox destroy request received. |
|
Sandbox destroy request received. |
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
This is a quick follow-up and fix for #33724 . The new Copy Unit button was appearing regardless of the
contentstore.enable_copy_paste_unitswaffle flag. And once a unit was copied, the other new functionality could become visible.This fixes the button so that it only appears when the
contentstore.enable_copy_paste_unitsfeature flag is explicitly enabled.