mozrest-sdk-react-dev 0.2.28 → 0.2.29
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/mozrest-sdk.es.js +4 -0
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -102184,6 +102184,9 @@ const ExportDataModal = ({ open, onClose: onClose2, filters: filters2, isExportL
|
|
|
102184
102184
|
}
|
|
102185
102185
|
});
|
|
102186
102186
|
};
|
|
102187
|
+
useEffect(() => {
|
|
102188
|
+
setExportFilters(filters2);
|
|
102189
|
+
}, [filters2]);
|
|
102187
102190
|
return /* @__PURE__ */ React__default.createElement(Modal2, {
|
|
102188
102191
|
open,
|
|
102189
102192
|
onClose: onClose2,
|
|
@@ -102196,6 +102199,7 @@ const ExportDataModal = ({ open, onClose: onClose2, filters: filters2, isExportL
|
|
|
102196
102199
|
}, /* @__PURE__ */ React__default.createElement(DatePicker, {
|
|
102197
102200
|
id: "dateRange",
|
|
102198
102201
|
label: t2("BOOKINGCREATIONDATERANGE"),
|
|
102202
|
+
range: { from: exportFilters["filters[from]"], till: exportFilters["filters[till]"] },
|
|
102199
102203
|
onChange: ({ from: from2, till }) => {
|
|
102200
102204
|
if (from2 && till) {
|
|
102201
102205
|
setExportFilters({
|