mozrest-sdk-react-dev 0.2.27 → 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 +7 -5
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -38589,7 +38589,7 @@ const replyLanguages = [
|
|
|
38589
38589
|
},
|
|
38590
38590
|
{
|
|
38591
38591
|
id: "vn",
|
|
38592
|
-
label: "
|
|
38592
|
+
label: "Vietnamese",
|
|
38593
38593
|
value: "vn"
|
|
38594
38594
|
},
|
|
38595
38595
|
{
|
|
@@ -43646,7 +43646,8 @@ const getLanguageOptions = (data2 = []) => {
|
|
|
43646
43646
|
return [];
|
|
43647
43647
|
}
|
|
43648
43648
|
const languages = data2.reduce((acc, item2) => ({ ...acc, [item2.language.id]: item2.language }), {});
|
|
43649
|
-
|
|
43649
|
+
let arrayLanguages = Object.values(languages);
|
|
43650
|
+
arrayLanguages = arrayLanguages.sort((a2, b2) => a2.label.localeCompare(b2.label));
|
|
43650
43651
|
if (arrayLanguages.length === 0) {
|
|
43651
43652
|
return [];
|
|
43652
43653
|
}
|
|
@@ -53125,9 +53126,6 @@ const Notifications = ({
|
|
|
53125
53126
|
}
|
|
53126
53127
|
execute({ data: values });
|
|
53127
53128
|
};
|
|
53128
|
-
useEffect(() => {
|
|
53129
|
-
console.log(userData2, "LOL");
|
|
53130
|
-
}, [userData2]);
|
|
53131
53129
|
if (isLoading) {
|
|
53132
53130
|
return /* @__PURE__ */ React__default.createElement(SkeletonPage, null);
|
|
53133
53131
|
}
|
|
@@ -102186,6 +102184,9 @@ const ExportDataModal = ({ open, onClose: onClose2, filters: filters2, isExportL
|
|
|
102186
102184
|
}
|
|
102187
102185
|
});
|
|
102188
102186
|
};
|
|
102187
|
+
useEffect(() => {
|
|
102188
|
+
setExportFilters(filters2);
|
|
102189
|
+
}, [filters2]);
|
|
102189
102190
|
return /* @__PURE__ */ React__default.createElement(Modal2, {
|
|
102190
102191
|
open,
|
|
102191
102192
|
onClose: onClose2,
|
|
@@ -102198,6 +102199,7 @@ const ExportDataModal = ({ open, onClose: onClose2, filters: filters2, isExportL
|
|
|
102198
102199
|
}, /* @__PURE__ */ React__default.createElement(DatePicker, {
|
|
102199
102200
|
id: "dateRange",
|
|
102200
102201
|
label: t2("BOOKINGCREATIONDATERANGE"),
|
|
102202
|
+
range: { from: exportFilters["filters[from]"], till: exportFilters["filters[till]"] },
|
|
102201
102203
|
onChange: ({ from: from2, till }) => {
|
|
102202
102204
|
if (from2 && till) {
|
|
102203
102205
|
setExportFilters({
|