mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01: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".
|
// Narrow down the results if a note is hoisted, similar to "Jump to note".
|
||||||
const hoistedNoteId = cls.getHoistedNoteId();
|
const hoistedNoteId = cls.getHoistedNoteId();
|
||||||
if (hoistedNoteId) {
|
if (hoistedNoteId !== 'root') {
|
||||||
notes = notes.filter(note => note.hasAncestor(hoistedNoteId));
|
notes = notes.filter(note => note.hasAncestor(hoistedNoteId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user