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 error when getting notes
ammarahm-ed27d161495e05
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.jsindex 590c17100..62269ab68 100755--- a/apps/mobile/src/utils/index.js+++ b/apps/mobile/src/utils/index.js@@ -141,7 +141,7 @@ export const GROUP = {export const SORT = {dateEdited:"Date edited",dateCreated:"Date created",- title:"Title",+ //title:"Title",}export const editing = {@@ -238,6 +238,7 @@ export function getTotalNotes(notebook) {if (notebook.type === 'topic') {return notebook.notes.length;}+ if (!notebook.topics) return 0;return notebook.topics.reduce((sum, topic) => {return sum + topic.notes.length;}, 0);