mirror of
https://github.com/zadam/trilium.git
synced 2025-02-23 06:26:31 +08:00
don't export hidden subtree to ZIP, fixes #2555
This commit is contained in:
parent
b679f4218d
commit
c8884f1917
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ function exportToZip(taskContext, branch, format, res) {
|
|||
|
||||
noteIdToMeta[note.noteId] = meta;
|
||||
|
||||
const childBranches = note.getChildBranches();
|
||||
const childBranches = note.getChildBranches()
|
||||
.filter(branch => branch.noteId !== 'hidden');
|
||||
|
||||
const available = !note.isProtected || protectedSessionService.isProtectedSessionAvailable();
|
||||
|
||||
|
|
Loading…
Reference in a new issue