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
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
* Full anonymization not redacting attachment titles. * Full anonymization not redacting attachment titles.
* Unable to trigger "Move to" dialog via keyboard shortcut. * 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 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)
## ✨ Improvements ## ✨ Improvements

View File

@ -358,7 +358,7 @@ function searchNotesForAutocomplete(query: string, fastSearch: boolean = true) {
return { return {
notePath: result.notePath, notePath: result.notePath,
noteTitle: title, noteTitle: title,
notePathTitle: `${icon} ${result.notePathTitle}`, notePathTitle: result.notePathTitle,
highlightedNotePathTitle: result.highlightedNotePathTitle, highlightedNotePathTitle: result.highlightedNotePathTitle,
icon: icon ?? "bx bx-note" icon: icon ?? "bx bx-note"
}; };