mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-18 03:00:26 -06:00
fix hiding of linked images in shared notes, closes #2791
This commit is contained in:
@@ -34,7 +34,7 @@ class Attribute extends AbstractEntity {
|
||||
const linkedChildNote = this.note.getChildNotes().find(childNote => childNote.noteId === this.value);
|
||||
|
||||
if (linkedChildNote) {
|
||||
const branch = this.shaca.getBranchFromChildAndParent(this.noteId, linkedChildNote.noteId);
|
||||
const branch = this.shaca.getBranchFromChildAndParent(linkedChildNote.noteId, this.noteId);
|
||||
|
||||
branch.isHidden = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user