mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
converted note type chooser dialog to new pattern
This commit is contained in:
@@ -172,8 +172,7 @@ function initNoteAutocomplete($el, options) {
|
||||
}
|
||||
|
||||
if (suggestion.action === 'create-note') {
|
||||
const noteTypeChooserDialog = await import('../dialogs/note_type_chooser.js');
|
||||
const {success, noteType, templateNoteId} = await noteTypeChooserDialog.chooseNoteType();
|
||||
const {success, noteType, templateNoteId} = await noteCreateService.chooseNoteType();
|
||||
|
||||
if (!success) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user