@@ -455,10 +455,12 @@ function groupSectionArrDynamic(arrayList, sectionMaxItemLength) {
}
});
- splitSectionArr.push({
- name: item.name,
- groups: groupsList
- });
+
+ if (groupsList.length)
+ splitSectionArr.push({
+ name: item.name,
+ groups: groupsList
+ });
if (splitSectionArr.length)