Skip to content

Commit

Permalink
fix infinite loop when updating grouped rows with > 1 grouping columns
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Apr 20, 2023
1 parent 00c8007 commit 1af92c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const removeNodeAndCleanParent = ({
parentNode.id !== GRID_ROOT_GROUP_ID && parentNode.children.length === 0;
if (shouldDeleteGroup) {
if (parentNode.isAutoGenerated) {
removeNodeAndCleanParent({ node, tree, treeDepths });
removeNodeAndCleanParent({ node: parentNode, tree, treeDepths });
} else {
tree[parentNode.id] = {
type: 'leaf',
Expand Down

0 comments on commit 1af92c9

Please sign in to comment.