mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
converted export dialog to new pattern
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user