Skip to content

Build your personal knowledge base with Trilium Notes

fix

zadamd29a633529d7
diff --git a/src/routes/api/note_map.js b/src/routes/api/note_map.js
index ff3574c219..da3d00f057 100644
--- a/src/routes/api/note_map.js
+++ b/src/routes/api/note_map.js
@@ -160,7 +160,6 @@ function getTreeMap(req) {
return !note.getParentNotes().find(parentNote => parentNote.noteId === imageLinkRelation.noteId);
})
- .concat(...mapRootNote.getParentNotes().filter(note => note.noteId !== 'none'))
.map(note => [
note.noteId,
note.getTitleOrProtected(),