From 5ccaf8b3b9fefd8682e7fe5c0400573b0c320e51 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 15 Jun 2022 23:07:09 +0200 Subject: [PATCH] fix multiple parents indication on note tree --- src/public/app/widgets/note_tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js index 05cf3d3c0..a75ea11b4 100644 --- a/src/public/app/widgets/note_tree.js +++ b/src/public/app/widgets/note_tree.js @@ -706,7 +706,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { const notSearchParents = note.getParentNoteIds() .map(noteId => froca.notes[noteId]) .filter(note => !!note) - .map(note => note.type !== 'search'); + .filter(note => note.type !== 'search'); if (notSearchParents.length > 1) { extraClasses.push("multiple-parents");