Skip to content

Build your personal knowledge base with Trilium Notes

remove branch bugfix

Tom358e8c548cd0
diff --git a/src/share/shaca/entities/attribute.js b/src/share/shaca/entities/attribute.js
index 9898a5f3b5..1696312abf 100644
--- a/src/share/shaca/entities/attribute.js
+++ b/src/share/shaca/entities/attribute.js
@@ -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;
}
}