mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fix hidden subtree appearing after collapse, #2922
This commit is contained in:
		@@ -832,6 +832,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        await this.filterHoistedBranch();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const activeNode = await this.getNodeFromPath(appContext.tabManager.getActiveContextNotePath());
 | 
					        const activeNode = await this.getNodeFromPath(appContext.tabManager.getActiveContextNotePath());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (activeNode) {
 | 
					        if (activeNode) {
 | 
				
			||||||
@@ -1079,6 +1081,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }, false);
 | 
					            }, false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            this.filterHoistedBranch();
 | 
				
			||||||
        }, 600 * 1000);
 | 
					        }, 600 * 1000);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user