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: only delete favorite property if available
thecodrr238271b4024d
diff --git a/packages/core/migrations.js b/packages/core/migrations.jsindex 59fde7993..3fb7c1ae7 100644--- a/packages/core/migrations.js+++ b/packages/core/migrations.js@@ -59,7 +59,7 @@ export const migrations = {},notebooks: async function (db, item) {if (await migrations.handleDeleted(db, "notebooks", item)) return;- delete item.favorite;+ if (item.favorite !== undefined) delete item.favorite;await db.notebooks.add(item);},tags: async function (db, item) {