akeyless-client-commons 1.0.221 → 1.0.222
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.
package/dist/components/index.js
CHANGED
|
@@ -1723,10 +1723,11 @@ var TableProvider = function(props) {
|
|
|
1723
1723
|
return str.toLowerCase().trim();
|
|
1724
1724
|
};
|
|
1725
1725
|
var normalizedSearchQuery = cleanString(debouncedSearchQuery);
|
|
1726
|
+
var keys = allKeys.filter(function(val) {
|
|
1727
|
+
return !(noneSearchKeys === null || noneSearchKeys === void 0 ? void 0 : noneSearchKeys.includes(val));
|
|
1728
|
+
});
|
|
1726
1729
|
filtered = data.filter(function(item) {
|
|
1727
|
-
return
|
|
1728
|
-
return !noneSearchKeys.includes(val);
|
|
1729
|
-
}).some(function(key) {
|
|
1730
|
+
return keys.some(function(key) {
|
|
1730
1731
|
return cleanString(String(item[key])).includes(normalizedSearchQuery);
|
|
1731
1732
|
});
|
|
1732
1733
|
});
|
|
@@ -1507,10 +1507,11 @@ var TableProvider = function(props) {
|
|
|
1507
1507
|
return str.toLowerCase().trim();
|
|
1508
1508
|
};
|
|
1509
1509
|
var normalizedSearchQuery = cleanString(debouncedSearchQuery);
|
|
1510
|
+
var keys = allKeys.filter(function(val) {
|
|
1511
|
+
return !(noneSearchKeys === null || noneSearchKeys === void 0 ? void 0 : noneSearchKeys.includes(val));
|
|
1512
|
+
});
|
|
1510
1513
|
filtered = data.filter(function(item) {
|
|
1511
|
-
return
|
|
1512
|
-
return !noneSearchKeys.includes(val);
|
|
1513
|
-
}).some(function(key) {
|
|
1514
|
+
return keys.some(function(key) {
|
|
1514
1515
|
return cleanString(String(item[key])).includes(normalizedSearchQuery);
|
|
1515
1516
|
});
|
|
1516
1517
|
});
|