Skip to content

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

improved tag search & query

ammarahm-edc0f89abf0675
diff --git a/apps/mobile/src/components/TagsDialog/index.js b/apps/mobile/src/components/TagsDialog/index.js
index 822881fe0..8ec9b91ed 100644
--- a/apps/mobile/src/components/TagsDialog/index.js
+++ b/apps/mobile/src/components/TagsDialog/index.js
@@ -165,7 +165,7 @@ const TagsDialog = () => {
onMomentumScrollEnd={() => {
actionSheetRef.current?.handleChildScrollEnd();
}}>
- {query ? (
+ {query && query !== tags[0]?.title ? (
<PressableButton
key={'query_item'}
customStyle={{
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.js
index 2331d9a0f..ab4cb8fe1 100755
--- a/apps/mobile/src/utils/index.js
+++ b/apps/mobile/src/utils/index.js
@@ -342,10 +342,7 @@ export async function toTXT(note) {
} else {
text = await db.notes.note(note.id).content();
}
- console.log(text);
-
htmlToText = htmlToText || require('html-to-text');
- console.log(htmlToText);
text = htmlToText.convert(text, {
selectors: [{selector: 'img', format: 'skip'}]
});