mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
core: add fix for localOnly items getting deleted on sync
This commit is contained in:
committed by
Abdullah Atta
parent
12d89114a4
commit
aa9cd23cf3
@@ -101,6 +101,8 @@ class Merger {
|
||||
}
|
||||
|
||||
async mergeContent(remoteItem, localItem, lastSynced) {
|
||||
if (localItem && localItem.localOnly) return;
|
||||
|
||||
const THRESHOLD = process.env.NODE_ENV === "test" ? 6 * 1000 : 60 * 1000;
|
||||
const conflicted =
|
||||
localItem &&
|
||||
|
||||
Reference in New Issue
Block a user