From 4331d9b3dbf2bcd3a5df2cc0f613aea1b391a9b4 Mon Sep 17 00:00:00 2001 From: windingwind Date: Sat, 15 Apr 2023 22:28:51 +0800 Subject: [PATCH] fix: sync lock release bug --- src/modules/sync/hooks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/sync/hooks.ts b/src/modules/sync/hooks.ts index c8fc349..7c7ddfc 100644 --- a/src/modules/sync/hooks.ts +++ b/src/modules/sync/hooks.ts @@ -52,6 +52,7 @@ async function callSyncing( items = items.filter((item) => addon.api.sync.isSyncNote(item.id)); } if (items.length === 0) { + addon.data.sync.lock = false; return; } if (skipActive) {