mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed restoring post revision not creating a new revision
refs TryGhost/Team#3109
This commit is contained in:
parent
d2f4c097a0
commit
3d785e4d95
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default class RestoreRevisionModal extends Component {
|
|||
post.lexical = revision.lexical;
|
||||
post.title = revision.title;
|
||||
|
||||
yield post.save();
|
||||
yield post.save({adapterOptions: {saveRevision: true}});
|
||||
|
||||
updateTitle();
|
||||
updateEditor();
|
||||
|
|
Loading…
Add table
Reference in a new issue