converted export dialog to new pattern

This commit is contained in:
zadam
2022-06-16 15:04:57 +02:00
parent 595e16cc6f
commit 36c210d0dd
8 changed files with 264 additions and 240 deletions

View File

@@ -53,7 +53,10 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
return;
}
import('../../dialogs/export.js').then(d => d.showDialog(this.noteContext.notePath, 'single'));
this.triggerCommand("showExportDialog", {
notePath: this.noteContext.notePath,
defaultType: "single"
});
});
this.$importNoteButton = this.$widget.find('.import-files-button');