mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	don't export hidden subtree to ZIP, fixes #2555
This commit is contained in:
		| @@ -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(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user