Commented out unexpected save each time publish menu is closed

refs 107ed0e1f3

- save shouldn't be happening here as it means unexpected changes could be saved to published posts without the user's consent
- save is related to a labs feature so it should have been behind a labs flag
This commit is contained in:
Kevin Ansfield 2021-09-09 15:35:09 +01:00
parent 8d0bbe142c
commit b6f973e5a6

View File

@ -454,6 +454,9 @@ export default Component.extend({
this.post.set('statusScratch', null);
this.post.validate();
this.post.save();
// TODO: confirm with Naz why this is needed and find a different solution
// - we shouldn't be saving post data every time the menu is closed,
// especially when the user has chosen to cancel/close the menu without saving
// this.post.save();
}
});