diff --git a/src/entities/branch.js b/src/entities/branch.js index aa06c425b..8c1b14d32 100644 --- a/src/entities/branch.js +++ b/src/entities/branch.js @@ -45,6 +45,10 @@ class Branch extends Entity { this.notePosition = maxNotePos === null ? 0 : maxNotePos + 10; } + if (!this.isExpanded) { + this.isExpanded = false; + } + if (!this.isDeleted) { this.isDeleted = false; }