mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix "edited notes on a day" for deleted notes
This commit is contained in:
parent
7fb22d41a0
commit
9359f05335
@ -138,7 +138,7 @@ function getEditedNotesOnDate(req) {
|
|||||||
LIMIT 50`, {date: req.params.date + '%'});
|
LIMIT 50`, {date: req.params.date + '%'});
|
||||||
|
|
||||||
for (const note of notes) {
|
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;
|
note.notePath = notePath ? notePath.notePath : null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user