mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
Merge remote-tracking branch 'origin/stable'
This commit is contained in:
commit
56a35b85a6
@ -25,6 +25,10 @@ eventService.subscribe(eventService.NOTE_TITLE_CHANGED, note => {
|
||||
if (!note.isRoot()) {
|
||||
const noteFromCache = noteCache.notes[note.noteId];
|
||||
|
||||
if (!noteFromCache) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const parentNote of noteFromCache.parents) {
|
||||
if (parentNote.hasLabel("sorted")) {
|
||||
treeService.sortNotesAlphabetically(parentNote.noteId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user