FIX: undoDeleteState() should restore delete button.

This commit is contained in:
Guo Xiang Tan 2015-08-19 09:31:09 +08:00
parent c20b3b85f9
commit 019191a944
1 changed files with 1 additions and 0 deletions

View File

@ -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
});
}