Fix edits and redrafts being erased by drafts #297
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#297
Loading…
Reference in a new issue
No description provided.
Delete branch "solidsanek/pleroma-fe:drafts-edit-redraft-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes AkkomaGang/akkoma#519
I didn't test those use cases oops. Since these elements have a statusId, I just check if one exists to prevent drafts from replacing the content that needed to be edited or redrafted. Using
isEdit
orisRedraft
didn't work there so yeahseems ok, thanks!