From 358e8c548cd0778e67a789cda48e166444541992 Mon Sep 17 00:00:00 2001 From: Tom <7283497+thfrei@users.noreply.github.com> Date: Mon, 9 May 2022 16:47:28 +0200 Subject: [PATCH] remove branch bugfix --- src/share/shaca/entities/attribute.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/share/shaca/entities/attribute.js b/src/share/shaca/entities/attribute.js index 9898a5f3b..1696312ab 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; } }