@megha-ui/react 1.2.323 → 1.2.325
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -103,11 +103,15 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
103
103
|
? compositeValues[compositeIndex]
|
|
104
104
|
: "";
|
|
105
105
|
if (display &&
|
|
106
|
-
(idx === keys.length - 1
|
|
107
|
-
compositeIndex === compositeKeys.length - 1)) {
|
|
106
|
+
(idx === keys.length - 1)) {
|
|
108
107
|
return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
|
|
109
108
|
}
|
|
110
|
-
|
|
109
|
+
else if (display && compositeIndex === compositeKeys.length - 1) {
|
|
110
|
+
return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
|
|
111
|
+
}
|
|
112
|
+
if (compositeIndex > -1 && item.key === columnKey) {
|
|
113
|
+
return display;
|
|
114
|
+
}
|
|
111
115
|
})() })] }));
|
|
112
116
|
}
|
|
113
117
|
return null;
|
package/package.json
CHANGED