@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]
|
|
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)
|