0
Fork 0
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:
Chris Raible 2023-04-21 16:37:49 +01:00
parent d2f4c097a0
commit 3d785e4d95

View file

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