mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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; |         noteIdToMeta[note.noteId] = meta; | ||||||
|  |  | ||||||
|         const childBranches = note.getChildBranches(); |         const childBranches = note.getChildBranches() | ||||||
|  |             .filter(branch => branch.noteId !== 'hidden'); | ||||||
|  |  | ||||||
|         const available = !note.isProtected || protectedSessionService.isProtectedSessionAvailable(); |         const available = !note.isProtected || protectedSessionService.isProtectedSessionAvailable(); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user