mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: undoDeleteState() should restore delete button.
This commit is contained in:
@@ -220,6 +220,7 @@ const Post = RestModel.extend({
|
||||
cooked: this.get('oldCooked'),
|
||||
version: this.get('version') - 1,
|
||||
can_recover: false,
|
||||
can_delete: true,
|
||||
user_deleted: false
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user