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: do not add empty notebook when migrating
thecodrr555ffd24f781
diff --git a/packages/core/migrations.js b/packages/core/migrations.jsindex 7580df14e..c5e411af0 100644--- a/packages/core/migrations.js+++ b/packages/core/migrations.js@@ -34,7 +34,7 @@ export const migrations = {// note.notebook -> note.notebooksconst notebook = item.notebook;delete item.notebook;- if (notebook) {+ if (notebook && notebook.id && notebook.topic) {notebook.topics = [notebook.topics];delete notebook.topic;item.notebooks = [notebook];