Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix notes page not updating grouping

ammarahm-ed3005cfb342ef
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index b3d62baa1..b5ebc5592 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -41,12 +41,11 @@ const getNotes = params => {
if (!notes) {
notes = [];
}
-
- return groupArray(notes, 'notes');
+ return groupArray(notes, db.settings?.getGroupOptions('notes'));
};
function getAlias(params) {
- if (!params) return "";
+ if (!params) return '';
let alias =
params.current?.type === 'tag'
? db.tags.alias(params.current?.id)