@megha-ui/react 1.2.329 → 1.2.331

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.
@@ -102,6 +102,7 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
102
102
  : compositeIndex > -1
103
103
  ? compositeValues[compositeIndex]
104
104
  : "";
105
+ console.log({ compositeIndex, idx, columnKey });
105
106
  if (display &&
106
107
  (idx === keys.length - 1)) {
107
108
  return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
@@ -109,10 +110,9 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
109
110
  else if (display && compositeIndex === compositeKeys.length - 1) {
110
111
  return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
111
112
  }
112
- console.log({ item, columnKey, index });
113
- if (compositeIndex > -1 && item.key === columnKey) {
113
+ if (compositeKeys.includes(item.key) || item.key === columnKey) {
114
+ return display;
114
115
  }
115
- return display;
116
116
  })() })] }));
117
117
  }
118
118
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.329",
3
+ "version": "1.2.331",
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",