mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-03 14:41:38 +08: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