mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix creating branch without isExpanded, fixes initial document initialization
This commit is contained in:
		| @@ -45,6 +45,10 @@ class Branch extends Entity { | |||||||
|             this.notePosition = maxNotePos === null ? 0 : maxNotePos + 10; |             this.notePosition = maxNotePos === null ? 0 : maxNotePos + 10; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         if (!this.isExpanded) { | ||||||
|  |             this.isExpanded = false; | ||||||
|  |         } | ||||||
|  |  | ||||||
|         if (!this.isDeleted) { |         if (!this.isDeleted) { | ||||||
|             this.isDeleted = false; |             this.isDeleted = false; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user