Fix edits and redrafts being erased by drafts #297
No reviewers
Labels
No Label
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 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!