mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
don't export hidden subtree to ZIP, fixes #2555
This commit is contained in:
parent
b679f4218d
commit
c8884f1917
@ -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…
x
Reference in New Issue
Block a user