mozrest-sdk-react-dev 0.3.51 → 0.3.52
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 +2 -2
- package/package.json +1 -1
package/mozrest-sdk.es.js
CHANGED
|
@@ -86099,7 +86099,7 @@ const Header$3 = ({
|
|
|
86099
86099
|
id: ((_a2 = platform2 == null ? void 0 : platform2.module) == null ? void 0 : _a2.id) ?? "",
|
|
86100
86100
|
label: ((_b = platform2 == null ? void 0 : platform2.module) == null ? void 0 : _b.name) ?? ""
|
|
86101
86101
|
};
|
|
86102
|
-
})] : platforms,
|
|
86102
|
+
}).sort((a2, b2) => a2.label.localeCompare(b2.label))] : platforms,
|
|
86103
86103
|
defaultValue: data2 && data2.data && data2.data.length ? [...[{
|
|
86104
86104
|
id: "",
|
|
86105
86105
|
label: t2("ALL")
|
|
@@ -86109,7 +86109,7 @@ const Header$3 = ({
|
|
|
86109
86109
|
id: ((_a2 = platform2 == null ? void 0 : platform2.module) == null ? void 0 : _a2.id) ?? "",
|
|
86110
86110
|
label: ((_b = platform2 == null ? void 0 : platform2.module) == null ? void 0 : _b.name) ?? ""
|
|
86111
86111
|
};
|
|
86112
|
-
})][0] : platforms[0],
|
|
86112
|
+
}).sort((a2, b2) => a2.label.localeCompare(b2.label))][0] : platforms[0],
|
|
86113
86113
|
onChange: handleChangeFilter(data2 && data2.data && data2.data.length ? "module" : "platform"),
|
|
86114
86114
|
getOptionValue: (item2) => item2.id
|
|
86115
86115
|
})
|