mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
support combination of shared and cloned in the note tree, fixes #4097
This commit is contained in:
@@ -742,7 +742,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
if (note.isShared()) {
|
||||
extraClasses.push("shared");
|
||||
}
|
||||
else if (note.getParentNoteIds().length > 1) {
|
||||
|
||||
if (note.getParentNoteIds().length > 1) {
|
||||
const realClones = note.getParentNoteIds()
|
||||
.map(noteId => froca.notes[noteId])
|
||||
.filter(note => !!note)
|
||||
|
||||
Reference in New Issue
Block a user