mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
converting note properties to methods
This commit is contained in:
@@ -89,7 +89,7 @@ eventService.subscribe(eventService.ENTITY_CREATED, ({ entityName, entity }) =>
|
||||
const note = becca.notes[entity.noteId];
|
||||
|
||||
if (note) {
|
||||
for (const noteId of note.subtreeNoteIds) {
|
||||
for (const noteId of note.getSubtreeNoteIds()) {
|
||||
treeService.sortNotesByTitle(noteId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user