@contrail/data-grouping 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,8 +38,8 @@ class DataGroupGenerator {
|
|
38
38
|
properties: {},
|
39
39
|
data: [],
|
40
40
|
},
|
41
|
-
groupingProperties
|
42
|
-
depth: groupingProperties ? groupingProperties.length
|
41
|
+
groupingProperties,
|
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