fix multiple parents indication on note tree

This commit is contained in:
zadam 2022-06-15 23:07:09 +02:00
parent 0e01c19414
commit 5ccaf8b3b9

View file

@ -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");