diff --git a/src/routes/api/note_map.js b/src/routes/api/note_map.js index ff3574c21..da3d00f05 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(),