mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
Merge branch 'master' into next61
# Conflicts: # package-lock.json # package.json # src/public/app/entities/fnote.js # src/public/app/services/link.js
This commit is contained in:
@@ -148,15 +148,15 @@ function getEditedNotesOnDate(req) {
|
||||
notes = notes.filter(note => note.hasAncestor(hoistedNoteId));
|
||||
}
|
||||
|
||||
notes = notes.map(note => note.getPojo());
|
||||
|
||||
for (const note of notes) {
|
||||
return notes.map(note => {
|
||||
const notePath = note.isDeleted ? null : getNotePathData(note);
|
||||
|
||||
note.notePath = notePath ? notePath.notePath : null;
|
||||
}
|
||||
const notePojo = note.getPojo();
|
||||
notePojo.notePath = notePath ? notePath.notePath : null;
|
||||
|
||||
return notePojo;
|
||||
});
|
||||
|
||||
return notes;
|
||||
}
|
||||
|
||||
function getNotePathData(note) {
|
||||
|
||||
Reference in New Issue
Block a user