1
0

Dont's save without changes

This commit is contained in:
Zef Hemel 2022-10-21 19:02:00 +02:00
parent 5bb73c111d
commit 6bcf3d7522

View File

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