mirror of
https://github.com/zadam/trilium.git
synced 2025-02-01 03:50:55 +08:00
remove branch bugfix
This commit is contained in:
parent
f85ed672cc
commit
358e8c548c
1 changed files with 1 additions and 8 deletions
|
@ -36,14 +36,7 @@ class Attribute extends AbstractEntity {
|
|||
if (linkedChildNote) {
|
||||
const branch = this.shaca.getBranchFromChildAndParent(linkedChildNote.noteId, this.noteId);
|
||||
|
||||
/**
|
||||
* FIXME: why can we have branch is undefined? issue when
|
||||
* sharing and not sharing notes? canvas-note specific?
|
||||
* This error occured during development.
|
||||
*/
|
||||
if(branch) {
|
||||
branch.isHidden = true;
|
||||
}
|
||||
branch.isHidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue