mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
autocomplete for add link dialog, #203
This commit is contained in:
@@ -44,9 +44,12 @@ async function getRecentNotes(currentNoteId) {
|
||||
LIMIT 200`, [currentNoteId]);
|
||||
|
||||
return recentNotes.map(rn => {
|
||||
const title = noteCacheService.getNoteTitleForPath(rn.notePath.split('/'));
|
||||
|
||||
return {
|
||||
path: rn.notePath,
|
||||
title: noteCacheService.getNoteTitleForPath(rn.notePath.split('/'))
|
||||
title: title,
|
||||
highlighted: title
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user