converted sort by dialog to new pattern

This commit is contained in:
zadam
2022-06-14 23:19:41 +02:00
parent 312ffc110a
commit ca44edd48c
6 changed files with 103 additions and 102 deletions

View File

@@ -1424,10 +1424,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
this.collapseTree(node);
}
sortChildNotesCommand({node}) {
import("../dialogs/sort_child_notes.js").then(d => d.showDialog(node.data.noteId));
}
async recentChangesInSubtreeCommand({node}) {
this.triggerCommand("showRecentChanges", {ancestorNoteId: node.data.noteId});
}