converted note type chooser dialog to new pattern

This commit is contained in:
zadam
2022-06-15 00:10:32 +02:00
parent ebd715ca1b
commit 1347d3fcc2
7 changed files with 151 additions and 135 deletions

View File

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