@natoora-libs/core 0.1.16-dev-doug-1 → 0.1.16-dev-doug-2
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.
|
@@ -7734,6 +7734,10 @@ var TableDesktop = ({
|
|
|
7734
7734
|
}
|
|
7735
7735
|
setIsRowsInAllPagesSelected(true);
|
|
7736
7736
|
};
|
|
7737
|
+
const handleApplyFilters = (updatedFilters, shouldSave) => {
|
|
7738
|
+
resetSelectedRows();
|
|
7739
|
+
onApplyFilters?.(updatedFilters, shouldSave);
|
|
7740
|
+
};
|
|
7737
7741
|
const handlePageChange = (event, page) => {
|
|
7738
7742
|
resetSelectedRows();
|
|
7739
7743
|
footerProps?.onPageChange?.(event, page);
|
|
@@ -7829,7 +7833,7 @@ var TableDesktop = ({
|
|
|
7829
7833
|
headerFilters: headerFilters ?? {},
|
|
7830
7834
|
onRequestSort: handleRequestSort,
|
|
7831
7835
|
onSelectAllClick: handleSelectAllClick,
|
|
7832
|
-
onApplyFilters,
|
|
7836
|
+
onApplyFilters: handleApplyFilters,
|
|
7833
7837
|
shouldShowCheckOnFilter
|
|
7834
7838
|
}
|
|
7835
7839
|
),
|