Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(search): note path contains icon (closes #1721)
Elian Doranb700bb65d85d
diff --git a/docs/Release Notes/Release Notes/v0.93.0.md b/docs/Release Notes/Release Notes/v0.93.0.mdindex 68d22d5db8..047ef999e9 100644--- a/docs/Release Notes/Release Notes/v0.93.0.md+++ b/docs/Release Notes/Release Notes/v0.93.0.md@@ -15,6 +15,7 @@* Full anonymization not redacting attachment titles.* Unable to trigger "Move to" dialog via keyboard shortcut.* [Note ordering doesn't load correctly, only shows up right after moving a note](https://github.com/TriliumNext/Notes/issues/1727)+* [Note selection dialog shows icon class when selecting result with arrow button (jump to note / create link)](https://github.com/TriliumNext/Notes/issues/1721)## ✨ Improvementsdiff --git a/src/services/search/services/search.ts b/src/services/search/services/search.tsindex 97ff54393b..3e1020e7aa 100644--- a/src/services/search/services/search.ts+++ b/src/services/search/services/search.ts@@ -358,7 +358,7 @@ function searchNotesForAutocomplete(query: string, fastSearch: boolean = true) {return {notePath: result.notePath,noteTitle: title,- notePathTitle: `${icon} ${result.notePathTitle}`,+ notePathTitle: result.notePathTitle,highlightedNotePathTitle: result.highlightedNotePathTitle,icon: icon ?? "bx bx-note"};