Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix featured image is deleted in case of creating new page - EXO…
…-75508 - Meeds-io/meeds#2614 Prior to this change, when create new page from draft with featured image and try to delete the draft after saving the new page, the featured image is deleted with the draft, which shoudl not be the case when the featured image is linked to the original saved page, this due to wrong condition handling on the removeFeaturedImage function in case of draft of new page. This PR treats the case by updating the condition to not delete the featured image in case of draft of new page.
- Loading branch information