converted recent changes dialog to new pattern

This commit is contained in:
zadam
2022-06-14 22:55:07 +02:00
parent bc35efd565
commit 11412a258b
9 changed files with 180 additions and 313 deletions

View File

@@ -1429,9 +1429,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
async recentChangesInSubtreeCommand({node}) {
const recentChangesDialog = await import('../dialogs/recent_changes.js');
recentChangesDialog.showDialog(node.data.noteId);
this.triggerCommand("showRecentChanges", {ancestorNoteId: node.data.noteId});
}
selectAllNotesInParentCommand({node}) {