diff --git a/src/services/export/zip.js b/src/services/export/zip.js index 3e8e3ad4a..7091270ef 100644 --- a/src/services/export/zip.js +++ b/src/services/export/zip.js @@ -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();