Merge pull request #9752 from streetwriters/mobile/fix-locked-note-merge-conflict

mobile: fix saving incoming note in merge conflict dialog does not work
This commit is contained in:
Ammar Ahmed
2026-04-29 16:16:38 +05:00
committed by GitHub

View File

@@ -76,7 +76,9 @@ const MergeConflicts = () => {
const applyChanges = async () => {
const contentToSave = selectedContent;
if (!contentToSave) return;
const note = await db.notes.note(contentToSave.noteId);
const note = await db.notes.note(
(content.current as UnencryptedContentItem).noteId
);
if (!note) return;
await db.notes.add({
id: note.id,