fix merge editor always saving same note

This commit is contained in:
ammarahm-ed
2021-01-30 10:56:53 +05:00
parent d1f2a29dac
commit 85e2ff66aa

View File

@@ -173,8 +173,8 @@ const MergeEditor = () => {
} else if (keepContentFrom === 'secondary') { } else if (keepContentFrom === 'secondary') {
await db.notes.add({ await db.notes.add({
content: { content: {
data: primaryData.data, data: secondaryData.data,
type: primaryData.type, type: secondaryData.type,
resolved: true, resolved: true,
}, },
id: note.id, id: note.id,