@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
- return display;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.323",
3
+ "version": "1.2.325",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",