mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
unify API for creating note links
This commit is contained in:
@@ -44,7 +44,10 @@ export async function showDialog() {
|
||||
const note = await treeCache.getNote(change.noteId);
|
||||
const notePath = await treeService.getSomeNotePath(note);
|
||||
|
||||
noteLink = await linkService.createNoteLinkWithPath(notePath, change.title);
|
||||
noteLink = await linkService.createNoteLink(notePath, {
|
||||
title: change.title,
|
||||
showNotePath: true
|
||||
});
|
||||
}
|
||||
|
||||
changesListEl.append($('<li>')
|
||||
|
||||
Reference in New Issue
Block a user