fix(note_autocomplete): fix wrong type of target

This commit is contained in:
Jakob Schlanstedt 2025-10-30 17:30:43 +01:00
parent bc4186d216
commit aada631c0f

View File

@ -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(