mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix "edited notes on a day" for deleted notes
This commit is contained in:
		| @@ -138,7 +138,7 @@ function getEditedNotesOnDate(req) { | ||||
|         LIMIT 50`, {date: req.params.date + '%'}); | ||||
|  | ||||
|     for (const note of notes) { | ||||
|         const notePath = noteCacheService.getNotePath(note.noteId); | ||||
|         const notePath = note.isDeleted ? null : noteCacheService.getNotePath(note.noteId); | ||||
|  | ||||
|         note.notePath = notePath ? notePath.notePath : null; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user