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…
Reference in New Issue