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: adding tag with a # adds an extra #
ammarahm-ed2b9e66383160
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.jsindex ded06a07c..feb99ce08 100644--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js@@ -47,6 +47,10 @@ export const ActionSheetTagsSection = ({item, close}) => {return;}+ if (tagToAdd.startsWith("#")) {+ tagToAdd = tagToAdd.slice(1);+ }+let tag = tagToAdd;tag = tag.trim();if (tag.includes(' ')) {@@ -124,7 +128,7 @@ export const ActionSheetTagsSection = ({item, close}) => {let _tags = db.tags.all;prevQuery = query;let _suggestions;-+if (query) {_suggestions = _tags.filter((t) =>