mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
fix(note_autocomplete): fix wrong type of target
This commit is contained in:
parent
bc4186d216
commit
aada631c0f
@ -488,7 +488,7 @@ function initNoteAutocomplete($el: JQuery<HTMLElement>, options?: Options) {
|
|||||||
suggestion.action === SuggestionAction.CreateNoteIntoPath ||
|
suggestion.action === SuggestionAction.CreateNoteIntoPath ||
|
||||||
suggestion.action === SuggestionAction.CreateAndLinkNoteIntoPath
|
suggestion.action === SuggestionAction.CreateAndLinkNoteIntoPath
|
||||||
) {
|
) {
|
||||||
target = "path";
|
target = "into";
|
||||||
}
|
}
|
||||||
|
|
||||||
const { note } = await noteCreateService.createNote(
|
const { note } = await noteCreateService.createNote(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user