converted import dialog to new pattern

This commit is contained in:
zadam
2022-06-16 14:21:24 +02:00
parent 40bbe380d3
commit 595e16cc6f
7 changed files with 160 additions and 153 deletions

View File

@@ -1458,8 +1458,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
async importIntoNoteCommand({node}) {
const importDialog = await import('../dialogs/import.js');
importDialog.showDialog(node.data.noteId);
this.triggerCommand("showImportDialog", {noteId: node.data.noteId});
}
forceNoteSyncCommand({node}) {