Skip to content

Commit 41d3f0d

Browse files
committed
Merge pull request #5148 from ERobishaw/master
Allows setting $$treeLevel to -1 on a row's entity
2 parents cf8cd2f + 5b61341 commit 41d3f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/tree-base/js/tree-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@
14951495
* @param {gridRow} row the parent we're finalising
14961496
*/
14971497
finaliseAggregations: function( row ){
1498-
if ( typeof(row.treeNode.aggregations) === 'undefined' ){
1498+
if ( row == null || typeof(row.treeNode.aggregations) === 'undefined' ){
14991499
return;
15001500
}
15011501

0 commit comments

Comments
 (0)