mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix showing deleted notes in "recent changes" dialog, closes #994
This commit is contained in:
		| @@ -264,7 +264,7 @@ function isArchived(noteId) { | |||||||
|  * @return {boolean} - true if given noteId has ancestorNoteId in any of its paths (even archived) |  * @return {boolean} - true if given noteId has ancestorNoteId in any of its paths (even archived) | ||||||
|  */ |  */ | ||||||
| function isInAncestor(noteId, ancestorNoteId) { | function isInAncestor(noteId, ancestorNoteId) { | ||||||
|     if (ancestorNoteId === noteId) { // special case |     if (ancestorNoteId === 'root' || ancestorNoteId === noteId) { | ||||||
|         return true; |         return true; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user