Skip to content

Commit 0874b42

Browse files
committed
Fix(treeView): fix #3425 added rows should be collapsed
1 parent 617cb74 commit 0874b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/tree-view/js/tree-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@
633633
} else {
634634
var parentState = parents[parents.length - 1].treeExpandedState;
635635
if ( typeof(parentState[row.uid]) === 'undefined') {
636-
parentState[row.uid] = { state: parentState.state, row: row };
636+
parentState[row.uid] = { state: uiGridTreeViewConstants.COLLAPSED, row: row };
637637
}
638638
row.treeExpandedState = parentState[row.uid];
639639
}

0 commit comments

Comments
 (0)