mario-core 2.9.204-release → 2.9.205-release
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.
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +101 -101
package/dist/index.modern.js
CHANGED
|
@@ -27714,10 +27714,11 @@ var useTableHeader = function useTableHeader(props) {
|
|
|
27714
27714
|
}));
|
|
27715
27715
|
}, [JSON.stringify(popoverFilters)]);
|
|
27716
27716
|
var handleChangeFilters = useCallback(function (value, searchBy) {
|
|
27717
|
-
|
|
27718
|
-
|
|
27719
|
-
|
|
27720
|
-
|
|
27717
|
+
if (!!searchBy) {
|
|
27718
|
+
var _extends2;
|
|
27719
|
+
|
|
27720
|
+
onChangeFilters === null || onChangeFilters === void 0 ? void 0 : onChangeFilters(_extends({}, filters, (_extends2 = {}, _extends2[SearchBy[searchBy]] = value, _extends2)));
|
|
27721
|
+
}
|
|
27721
27722
|
}, [JSON.stringify(filters)]);
|
|
27722
27723
|
useEffect(function () {
|
|
27723
27724
|
popoverFilters.searchBy !== undefined && getData();
|