mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
prefixes are now displayed also in all autocompletes and recent notes
This commit is contained in:
@@ -22,8 +22,10 @@ const link = (function() {
|
||||
return null;
|
||||
}
|
||||
|
||||
function createNoteLink(noteId, noteTitle) {
|
||||
function createNoteLink(notePath, noteTitle) {
|
||||
if (!noteTitle) {
|
||||
const noteId = treeUtils.getNoteIdFromNotePath(notePath);
|
||||
|
||||
noteTitle = noteTree.getNoteTitle(noteId);
|
||||
}
|
||||
|
||||
@@ -31,7 +33,7 @@ const link = (function() {
|
||||
href: 'javascript:',
|
||||
text: noteTitle
|
||||
}).attr('action', 'note')
|
||||
.attr('note-path', noteId);
|
||||
.attr('note-path', notePath);
|
||||
|
||||
return noteLink;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user