From d29a633529d7d16ea96fc2f6a97f15ee3a810cbf Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 7 Nov 2022 21:11:42 +0100 Subject: [PATCH] fix --- src/routes/api/note_map.js | 1 - 1 file changed, 1 deletion(-) 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(),