mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
events for updating title (no saving yet)
This commit is contained in:
@@ -447,4 +447,12 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
noteTitleChangedListener({noteId}) {
|
||||
for (const node of this.getNodesByNoteId(noteId)) {
|
||||
console.log("Setting to", node);
|
||||
|
||||
treeService.setNodeTitleWithPrefix(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user