@megha-ui/react 1.2.381 → 1.2.383
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.
|
@@ -148,7 +148,6 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
148
148
|
const regex = createRegexFromWildcard(query);
|
|
149
149
|
return regex.test(value);
|
|
150
150
|
}
|
|
151
|
-
console.log({ value, query, [column.key]: searchQueries[column.key] });
|
|
152
151
|
switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
|
|
153
152
|
case "contains":
|
|
154
153
|
return value.toLowerCase().includes(query.toLowerCase());
|
|
@@ -226,7 +225,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
226
225
|
const regex = createRegexFromWildcard(query);
|
|
227
226
|
return regex.test(value);
|
|
228
227
|
}
|
|
229
|
-
console.log({ value, query });
|
|
228
|
+
console.log({ value, query, [column.key]: searchQueries[column.key] });
|
|
230
229
|
switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
|
|
231
230
|
case "contains":
|
|
232
231
|
return value.toLowerCase().includes(query.toLowerCase());
|
package/package.json
CHANGED