lifterlms
lifterlms copied to clipboard
Launching Course Builder after clicking Add Course results in Auto Draft course that disappears
Description
When course builder is launched from a new course, before saving a draft, convert the auto draft to a draft and rename to "New Course"
Removed editability of the course title until saving is working to avoid confusion.
Fixes #2606 Refs #2607
How has this been tested?
Manually
Checklist:
- [x] This PR requires and contains at least one changelog file. <!-- To create a changelog yml file:
npm run dev changelog add -- -i
and follow the prompt. See also: https://github.com/gocodebox/lifterlms/blob/trunk/packages/dev/README.md#changelog-add --> - [x] My code has been tested.
- [x] My code passes all existing automated tests.
- [x] My code follows the LifterLMS Coding & Documentation Standards.