@ssplib/react-components 0.0.206 → 0.0.207

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.
@@ -433,7 +433,8 @@ function Table({ columns, fetchFunc, emptyMsg = {
433
433
  filterBasedOnList(appliedFilters);
434
434
  }, [appliedFilters]);
435
435
  const filterBasedOnList = (filteredList) => {
436
- let rawList = JSON.parse(JSON.stringify(Array.isArray(startData) ? startData : (0, lodash_get_1.default)(startData, dataPath)));
436
+ var _a;
437
+ let rawList = JSON.parse(JSON.stringify(Array.isArray(startData) ? startData : (_a = (0, lodash_get_1.default)(startData, dataPath)) !== null && _a !== void 0 ? _a : '[]'));
437
438
  if (filteredList.length <= 0 || rawList.length <= 0) {
438
439
  setList(rawList);
439
440
  setPagCount(getCount(rawList));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssplib/react-components",
3
- "version": "0.0.206",
3
+ "version": "0.0.207",
4
4
  "description": "SSP React Components",
5
5
  "main": "index.js",
6
6
  "author": "Pedro Henrique <sr.hudrick@gmail.com>",