mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(search): note path contains icon (closes #1721)
This commit is contained in:
parent
069e307ec4
commit
b700bb65d8
@ -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)
|
||||
|
||||
## ✨ Improvements
|
||||
|
||||
|
@ -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"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user