@antscorp/antsomi-ui 1.3.5-beta.475 → 1.3.5-beta.476
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.
|
@@ -306,10 +306,8 @@ export function useDataTableListing(props) {
|
|
|
306
306
|
const matchesAnyProps = (matchesAny === null || matchesAny === void 0 ? void 0 : matchesAny[`${selectedFilterItem === null || selectedFilterItem === void 0 ? void 0 : selectedFilterItem.column}`.toLowerCase()])
|
|
307
307
|
? matchesAny === null || matchesAny === void 0 ? void 0 : matchesAny[`${selectedFilterItem === null || selectedFilterItem === void 0 ? void 0 : selectedFilterItem.column}`.toLowerCase()]
|
|
308
308
|
: matchesAny === null || matchesAny === void 0 ? void 0 : matchesAny.general;
|
|
309
|
-
return matchesAnyProps.formatData(matchesAnyListData);
|
|
310
|
-
return [];
|
|
309
|
+
return (matchesAnyProps === null || matchesAnyProps === void 0 ? void 0 : matchesAnyProps.formatData(matchesAnyListData)) || [];
|
|
311
310
|
}, [matchesAny, matchesAnyListData, selectedFilterItem === null || selectedFilterItem === void 0 ? void 0 : selectedFilterItem.column]);
|
|
312
|
-
console.log('matchesAnyList', matchesAnyList);
|
|
313
311
|
// Effects
|
|
314
312
|
/**
|
|
315
313
|
* Update values from local storage to state
|