Skip to content

Build your personal knowledge base with Trilium Notes

Merge remote-tracking branch 'origin/main' into feature/hide_from_tree

Elian Doran7c05109645aa
diff --cc apps/client/src/widgets/note_tree.ts
index e0034ff226,3d0cf503f5..80089a546b
--- a/apps/client/src/widgets/note_tree.ts
+++ b/apps/client/src/widgets/note_tree.ts
@@@ -1917,9 -1865,10 +1939,11 @@@ function buildEnhanceTitle()
&& !note.isOptions()
&& !note.isLaunchBarConfig()
&& !note.noteId.startsWith("_help")
+ && !isSubtreeHidden
) {
- node.span.append(createChildTemplate.cloneNode());
+ const createChildItem = createChildTemplate.cloneNode();
+ createChildItem.addEventListener("click", cancelClickPropagation);
+ node.span.append(createChildItem);
}
if (isHoistedNote) {