mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +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