@megha-ui/react 1.2.379 → 1.2.380
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,7 @@ 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 });
|
|
151
|
+
console.log({ value, query, [column.key]: searchQueries[column.key] });
|
|
152
152
|
switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
|
|
153
153
|
case "contains":
|
|
154
154
|
return value.toLowerCase().includes(query.toLowerCase());
|
package/package.json
CHANGED