web: do not collapse child nodes when collapsing parent

This commit is contained in:
Abdullah Atta
2025-02-19 14:00:25 +05:00
committed by Ammar Ahmed
parent c156defd57
commit c52eb4608d

View File

@@ -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);
}
}