@megha-ui/react 1.2.590 → 1.2.592
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.
|
@@ -361,9 +361,11 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
361
361
|
console.log(_filteredData.map((item) => Object.keys(item)
|
|
362
362
|
.filter((key) => Object.keys(searchQueries).includes(key))
|
|
363
363
|
.reduce((acc, key) => {
|
|
364
|
-
|
|
364
|
+
if (searchQueries[key].type === "startsWith") {
|
|
365
|
+
acc[key] = item[key];
|
|
366
|
+
}
|
|
365
367
|
return acc;
|
|
366
|
-
}, {})));
|
|
368
|
+
}, {})).map(item => item.value));
|
|
367
369
|
return _filteredData;
|
|
368
370
|
}, [
|
|
369
371
|
data,
|
package/package.json
CHANGED