mirror of
https://github.com/zadam/trilium.git
synced 2026-03-09 13:40:21 +01:00
fix(export/zip): hidden note appears in tree (closes #8714)
This commit is contained in:
@@ -1718,7 +1718,10 @@ class BNote extends AbstractBeccaEntity<BNote> {
|
||||
}
|
||||
|
||||
getVisibleChildBranches() {
|
||||
return this.getChildBranches().filter((branch) => !branch.getNote().isLabelTruthy("shareHiddenFromTree"));
|
||||
return this.getChildBranches().filter((branch) => {
|
||||
const note = branch.getNote();
|
||||
return !note.isLabelTruthy("shareHiddenFromTree") && !note.noteId.startsWith("_");
|
||||
});
|
||||
}
|
||||
|
||||
getVisibleChildNotes() {
|
||||
|
||||
Reference in New Issue
Block a user