mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
34481df2e7
@ -132,15 +132,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user