mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
added context menu "recent changes in subtree"
This commit is contained in:
@@ -737,6 +737,12 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
treeService.sortAlphabetically(node.data.noteId);
|
||||
}
|
||||
|
||||
async recentChangesInSubtreeCommand({node}) {
|
||||
const recentChangesDialog = await import('../dialogs/recent_changes.js');
|
||||
|
||||
recentChangesDialog.showDialog(node.data.noteId);
|
||||
}
|
||||
|
||||
selectAllNotesInParentCommand({node}) {
|
||||
for (const child of node.getParent().getChildren()) {
|
||||
child.setSelected(true);
|
||||
|
||||
Reference in New Issue
Block a user