diff --git a/src/features/CmdConfigSync.ts b/src/features/CmdConfigSync.ts index 201ade6..f55646f 100644 --- a/src/features/CmdConfigSync.ts +++ b/src/features/CmdConfigSync.ts @@ -684,6 +684,7 @@ export class ConfigSync extends LiveSyncCommands { children: [], deleted: false, type: "newnote", + eden: {} }; } else { if (old.mtime == mtime) { diff --git a/src/lib b/src/lib index 3c0ff96..57f0be0 160000 --- a/src/lib +++ b/src/lib @@ -1 +1 @@ -Subproject commit 3c0ff967e9e63e22a5513b7116894a9e162bb810 +Subproject commit 57f0be04647ac7ac2cb246e7cafe7905ee5fd132 diff --git a/src/main.ts b/src/main.ts index 97083ec..092b205 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1374,6 +1374,7 @@ We can perform a command in this file. } else { // suspend all temporary. if (this.suspended) return; + if (!this.hasFocus) return; await Promise.all(this.addOns.map(e => e.onResume())); if (this.settings.remoteType == REMOTE_COUCHDB) { if (this.settings.liveSync) {