Skip to content

Build your personal knowledge base with Trilium Notes

fix multiple parents indication on note tree

zadam5ccaf8b3b9fe
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index 05cf3d3c0b..a75ea11b4b 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");