mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
converted export dialog to new pattern
This commit is contained in:
@@ -1451,10 +1451,9 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
async exportNoteCommand({node}) {
|
||||
const exportDialog = await import('../dialogs/export.js');
|
||||
const notePath = treeService.getNotePath(node);
|
||||
|
||||
exportDialog.showDialog(notePath,"subtree");
|
||||
this.triggerCommand("showExportDialog", {notePath, defaultType: "subtree"});
|
||||
}
|
||||
|
||||
async importIntoNoteCommand({node}) {
|
||||
|
||||
Reference in New Issue
Block a user