mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
feat(hidden_subtree): enforce original title in help
This commit is contained in:
parent
179b0be2bb
commit
6021178b7d
@ -411,7 +411,7 @@ function checkHiddenSubtreeRecursively(parentNoteId: string, item: HiddenSubtree
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extraOpts.restoreNames && note.title !== item.title) {
|
if ((extraOpts.restoreNames || note.noteId.startsWith("_help")) && note.title !== item.title) {
|
||||||
note.title = item.title;
|
note.title = item.title;
|
||||||
note.save();
|
note.save();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user