@undp/carbon-library 1.0.274-CARBON-404.1 → 1.0.274-CARBON-404.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -5
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -6579,12 +6579,8 @@ var AddNewCompanyComponent = function (props) {
|
|
6579
6579
|
message: "Ministry Name is required",
|
6580
6580
|
},
|
6581
6581
|
] },
|
6582
|
-
React.createElement(Select, { size: "large", onChange: onChangeMinistry }, Object.values(Ministry).map(function (ministry) { return (React.createElement(Select.Option, { value: ministry }, ministry)); }))),
|
6582
|
+
React.createElement(Select, { size: "large", onChange: onChangeMinistry }, Object.values(Ministry).map(function (ministry) { return (React.createElement(Select.Option, { value: ministry }, (ministry === "ScienceAndTechnology") ? "Science And Technology" : (ministry === "WaterResources") ? "Water Resources" : ministry)); }))),
|
6583
6583
|
React.createElement(Form.Item, { label: "Name of the Minister", name: "nameOfMinister", initialValue: (_f = state === null || state === void 0 ? void 0 : state.record) === null || _f === void 0 ? void 0 : _f.nameOfMinister, rules: [
|
6584
|
-
{
|
6585
|
-
required: true,
|
6586
|
-
message: "Minister Name is required",
|
6587
|
-
},
|
6588
6584
|
{
|
6589
6585
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
6590
6586
|
return __generator(this, function (_a) {
|