fix edited notes ribbon widget

This commit is contained in:
zadam 2021-07-24 22:13:32 +02:00
parent e003341dff
commit e74979ccc1

View file

@ -120,7 +120,8 @@ function getEditedNotesOnDate(req) {
ORDER BY isDeleted
LIMIT 50`, {date: req.params.date + '%'});
const notes = becca.getNotes(noteIds, true);
const notes = becca.getNotes(noteIds, true)
.map(note => note.getPojo());
for (const note of notes) {
const notePath = note.isDeleted ? null : beccaService.getNotePath(note.noteId);