mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix creating branch without isExpanded, fixes initial document initialization
This commit is contained in:
parent
1a182d1b58
commit
f1a7fce277
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user