don't filter on root hoisted note

This commit is contained in:
zadam 2022-11-03 21:40:42 +01:00
parent a707e7abf4
commit 8a539dc514

View File

@ -129,7 +129,7 @@ function getEditedNotesOnDate(req) {
// Narrow down the results if a note is hoisted, similar to "Jump to note".
const hoistedNoteId = cls.getHoistedNoteId();
if (hoistedNoteId) {
if (hoistedNoteId !== 'root') {
notes = notes.filter(note => note.hasAncestor(hoistedNoteId));
}