forked from mirrors/bookwyrm
Fixes editing replies
This commit is contained in:
parent
e43cade6cc
commit
0dba071126
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ class EditStatus(View):
|
|||
)
|
||||
status.raise_not_editable(request.user)
|
||||
|
||||
status_type = "reply" if status.reply_parent else status.status_type.lower()
|
||||
data = {
|
||||
"type": status.status_type.lower(),
|
||||
"type": status_type,
|
||||
"book": getattr(status, "book", None),
|
||||
"draft": status,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue