mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	fix tree focusing issues
This commit is contained in:
		@@ -125,6 +125,7 @@ async function setExpanded(req) {
 | 
			
		||||
    if (branchId !== 'root') {
 | 
			
		||||
        await sql.execute("UPDATE branches SET isExpanded = ? WHERE branchId = ?", [expanded, branchId]);
 | 
			
		||||
        // we don't sync expanded label
 | 
			
		||||
        // also this does not trigger updates to the frontend, this would trigger too many reloads
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user