A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: insert attachments before opening conflicted notes
thecodrr2852c25636f8
diff --git a/apps/web/src/components/diff-viewer/index.js b/apps/web/src/components/diff-viewer/index.jsindex fdc0cab4c..596ffcd56 100644--- a/apps/web/src/components/diff-viewer/index.js+++ b/apps/web/src/components/diff-viewer/index.js@@ -110,12 +110,15 @@ function DiffViewer(props) {notesStore.setSelectedNote(noteId);note = note.data;- const content = await db.content.raw(note.contentId);+ const content = await db.content.raw(note.contentId, true);if (!content.conflicted)return resolveConflict({toKeep: content.data,dateEdited: content.dateEdited,});+ content.conflicted = await db.content.insertAttachments(+ content.conflicted+ );setConflictedNote(note);setLocalContent({ ...content, conflicted: false });