Skip to content

Commit 6f4ebb9

Browse files
author
tung-ideapad
committed
.
1 parent c6deb2f commit 6f4ebb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ async function syncDeletedNoteIds({deletedNoteIds, credentials, gitCredentials,
410410
remoteLists.push(await _GLOBAL.downloadDeletedNotesFromIPFS?.(credentials));
411411
}
412412

413-
remoteLists = remoteLists.filter(x => x.ids.length) // filter to avoid any remote with empty setup for deleted note ids
413+
remoteLists = remoteLists.filter(x => x.ids?.length) // filter to avoid any remote with empty setup for deleted note ids
414414

415415
// --- Merge Phase ---
416416
// 1. Find the master list (most recent)

0 commit comments

Comments
 (0)