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
mobile: fix notebook not showing on note
ammarahm-edeb858487c667
diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.jsindex 923b3dba1..b33283236 100644--- a/apps/mobile/app/components/list-items/note/index.js+++ b/apps/mobile/app/components/list-items/note/index.js@@ -55,11 +55,10 @@ function getNotebook(item) {if (isTrash || !item.notebooks || item.notebooks.length < 1) return [];return item.notebooks.reduce(function (prev, curr) {- if (prev) return prev;+ if (prev && prev.length > 0) return prev;const topicId = curr.topics[0];const notebook = db.notebooks?.notebook(curr.id)?.data;if (!notebook) return;-const topic = notebook.topics.find((t) => t.id === topicId);if (!topic) return;