@contrail/data-grouping 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ class DataGroupGenerator {
|
|
39
39
|
data: [],
|
40
40
|
},
|
41
41
|
groupingProperties,
|
42
|
-
depth: groupingProperties ? groupingProperties.length
|
42
|
+
depth: groupingProperties ? groupingProperties.length : 0,
|
43
43
|
};
|
44
44
|
this.buildChildDataGroups(data, structure.rootGroup, groupingProperties, leafNodeDataCount, 0);
|
45
45
|
return structure;
|
package/package.json
CHANGED