@ssplib/react-components 0.0.203 → 0.0.204

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.
@@ -576,7 +576,9 @@ function Table({ columns, fetchFunc, emptyMsg = {
576
576
  function date(from, to, keyName) {
577
577
  const separator = filterSeparator;
578
578
  rawList = rawList.filter((x) => {
579
- const dts = x[keyName].split(separator).map((k) => { var _a; return ((_a = k.match(/[0-9]+\/[0-9]+\/[0-9]+/)) !== null && _a !== void 0 ? _a : [])[0]; });
579
+ const dts = String(x[keyName])
580
+ .split(separator)
581
+ .map((k) => { var _a, _b; return (_b = ((_a = k.match(/[0-9]+\/[0-9]+\/[0-9]+/)) !== null && _a !== void 0 ? _a : [])[0]) !== null && _b !== void 0 ? _b : ''; });
580
582
  let inside = false;
581
583
  dts.forEach((k) => {
582
584
  if (inside)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssplib/react-components",
3
- "version": "0.0.203",
3
+ "version": "0.0.204",
4
4
  "description": "SSP React Components",
5
5
  "main": "index.js",
6
6
  "author": "Pedro Henrique <sr.hudrick@gmail.com>",