mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: undoDeleteState() should restore delete button.
This commit is contained in:
parent
c20b3b85f9
commit
019191a944
@ -220,6 +220,7 @@ const Post = RestModel.extend({
|
|||||||
cooked: this.get('oldCooked'),
|
cooked: this.get('oldCooked'),
|
||||||
version: this.get('version') - 1,
|
version: this.get('version') - 1,
|
||||||
can_recover: false,
|
can_recover: false,
|
||||||
|
can_delete: true,
|
||||||
user_deleted: false
|
user_deleted: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user