Skip to content

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

fix tag suggestions not showing

ammarahm-edc57d06aa3e84
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
index a8bb32935..cdb1206b4 100644
--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
@@ -138,6 +138,7 @@ export const ActionSheetTagsSection = ({item, close}) => {
);
} else {
_suggestions = tags
+ .slice()
.sort(function (x, y) {
return x.dateEdited - y.dateEdited;
})