mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 20:20:21 +01:00
web: do not collapse child nodes when collapsing parent
This commit is contained in:
committed by
Ammar Ahmed
parent
c156defd57
commit
c52eb4608d
@@ -219,7 +219,6 @@ export function VirtualizedTree<T>(props: TreeViewProps<T>) {
|
||||
treeNode.parentId === node.id ||
|
||||
removeIds.includes(treeNode.parentId)
|
||||
) {
|
||||
expanded[treeNode.id] = false;
|
||||
removeIds.push(treeNode.id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user