akeyless-client-commons 1.0.226 → 1.0.227
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
|
@@ -1733,8 +1733,9 @@ var TableProvider = function(props) {
|
|
|
1733
1733
|
});
|
|
1734
1734
|
});
|
|
1735
1735
|
}
|
|
1736
|
-
if (filterableColumns.length > 0 &&
|
|
1737
|
-
|
|
1736
|
+
if (filterableColumns.length > 0 && Object.values(filters).some(function(arr) {
|
|
1737
|
+
return Array.isArray(arr) && arr.length > 0;
|
|
1738
|
+
})) {
|
|
1738
1739
|
Object.keys(filters).forEach(function(key) {
|
|
1739
1740
|
if (filters[key].length > 0) {
|
|
1740
1741
|
filtered = filtered.filter(function(item) {
|
|
@@ -1517,8 +1517,9 @@ var TableProvider = function(props) {
|
|
|
1517
1517
|
});
|
|
1518
1518
|
});
|
|
1519
1519
|
}
|
|
1520
|
-
if (filterableColumns.length > 0 &&
|
|
1521
|
-
|
|
1520
|
+
if (filterableColumns.length > 0 && Object.values(filters).some(function(arr) {
|
|
1521
|
+
return Array.isArray(arr) && arr.length > 0;
|
|
1522
|
+
})) {
|
|
1522
1523
|
Object.keys(filters).forEach(function(key) {
|
|
1523
1524
|
if (filters[key].length > 0) {
|
|
1524
1525
|
filtered = filtered.filter(function(item) {
|