akeyless-client-commons 1.0.225 → 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.
@@ -1733,8 +1733,9 @@ var TableProvider = function(props) {
1733
1733
  });
1734
1734
  });
1735
1735
  }
1736
- if (filterableColumns.length > 0 && filterPopupsDisplay !== "") {
1737
- console.log("filtering ...");
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) {
@@ -1765,7 +1766,9 @@ var TableProvider = function(props) {
1765
1766
  filters,
1766
1767
  data,
1767
1768
  displayAllRows,
1768
- normalizedNoneSearchKeys
1769
+ normalizedNoneSearchKeys,
1770
+ filterableColumns,
1771
+ filterPopupsDisplay
1769
1772
  ]);
1770
1773
  var providerValues = _object_spread_props(_object_spread({}, props), {
1771
1774
  // props with default values
@@ -1517,8 +1517,9 @@ var TableProvider = function(props) {
1517
1517
  });
1518
1518
  });
1519
1519
  }
1520
- if (filterableColumns.length > 0 && filterPopupsDisplay !== "") {
1521
- console.log("filtering ...");
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) {
@@ -1549,7 +1550,9 @@ var TableProvider = function(props) {
1549
1550
  filters,
1550
1551
  data,
1551
1552
  displayAllRows,
1552
- normalizedNoneSearchKeys
1553
+ normalizedNoneSearchKeys,
1554
+ filterableColumns,
1555
+ filterPopupsDisplay
1553
1556
  ]);
1554
1557
  var providerValues = _object_spread_props(_object_spread({}, props), {
1555
1558
  // props with default values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",