@megha-ui/react 1.2.324 → 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,13 @@ 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
|
-
if (
|
|
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) {
|
|
111
113
|
return display;
|
|
112
114
|
}
|
|
113
115
|
})() })] }));
|
package/package.json
CHANGED