mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix multiple parents indication on note tree
This commit is contained in:
parent
0e01c19414
commit
5ccaf8b3b9
@ -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…
x
Reference in New Issue
Block a user