mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
unify API for creating note links
This commit is contained in:
@@ -379,7 +379,7 @@ class TabContext {
|
||||
async addPath(notePath, isCurrent) {
|
||||
const title = await treeUtils.getNotePathTitle(notePath);
|
||||
|
||||
const noteLink = await linkService.createNoteLink(notePath, title);
|
||||
const noteLink = await linkService.createNoteLink(notePath, {title});
|
||||
|
||||
noteLink
|
||||
.addClass("no-tooltip-preview")
|
||||
|
Reference in New Issue
Block a user