mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08: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; |         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(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam