Dont's save without changes
This commit is contained in:
parent
5bb73c111d
commit
6bcf3d7522
@ -278,6 +278,9 @@ export class Editor {
|
||||
this.saveTimeout = setTimeout(
|
||||
() => {
|
||||
if (this.currentPage) {
|
||||
if (!this.viewState.unsavedChanges) {
|
||||
return resolve();
|
||||
}
|
||||
console.log("Saving page", this.currentPage);
|
||||
this.space
|
||||
.writePage(
|
||||
|
Loading…
Reference in New Issue
Block a user