mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
fix merge editor always saving same note
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user