mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 23:13:43 +08:00
fix multiple parents indication on note tree
This commit is contained in:
parent
0e01c19414
commit
5ccaf8b3b9
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue