fix(search): note path contains icon (closes #1721)

This commit is contained in:
Elian Doran
2025-04-17 21:08:04 +03:00
parent 069e307ec4
commit b700bb65d8
2 changed files with 2 additions and 1 deletions

View File

@@ -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"
};