@megha-ui/react 1.2.779 → 1.2.780

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.
@@ -1385,7 +1385,15 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
1385
1385
  : [];
1386
1386
  let options = [
1387
1387
  ...data
1388
- .filter((item) => item[column.key])
1388
+ .filter((item) => {
1389
+ var _a, _b, _c, _d;
1390
+ const arrayValue = (_b = (_a = item[column.key]) === null || _a === void 0 ? void 0 : _a.isArrayString) !== null && _b !== void 0 ? _b : false;
1391
+ if (!arrayValue &&
1392
+ ((_d = (_c = item === null || item === void 0 ? void 0 : item[column.key]) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.toString().includes(">>"))) {
1393
+ return false;
1394
+ }
1395
+ return item[column.key];
1396
+ })
1389
1397
  .map((data) => {
1390
1398
  var _a, _b, _c;
1391
1399
  const arrayValue = (_b = (_a = data[column.key]) === null || _a === void 0 ? void 0 : _a.isArrayString) !== null && _b !== void 0 ? _b : false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.779",
3
+ "version": "1.2.780",
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",