@contrail/data-grouping
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -42,3 +42,3 @@ "use strict"; | ||
groupingProperties, | ||
depth: groupingProperties ? groupingProperties.length + 1 : 0, | ||
depth: groupingProperties ? groupingProperties.length : 0, | ||
}; | ||
@@ -45,0 +45,0 @@ this.buildChildDataGroups(data, structure.rootGroup, groupingProperties, leafNodeDataCount, 0); |
{ | ||
"name": "@contrail/data-grouping", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Utilities and interfaces for grouping data into hierarchial data structures based on properties.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
7116