mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 02:10:04 +08:00
don't filter on root hoisted note
This commit is contained in:
parent
a707e7abf4
commit
8a539dc514
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user