@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/cjs/index.js
CHANGED
@@ -6599,12 +6599,8 @@ var AddNewCompanyComponent = function (props) {
|
|
6599
6599
|
message: "Ministry Name is required",
|
6600
6600
|
},
|
6601
6601
|
] },
|
6602
|
-
React.createElement(antd.Select, { size: "large", onChange: onChangeMinistry }, Object.values(exports.Ministry).map(function (ministry) { return (React.createElement(antd.Select.Option, { value: ministry }, ministry)); }))),
|
6602
|
+
React.createElement(antd.Select, { size: "large", onChange: onChangeMinistry }, Object.values(exports.Ministry).map(function (ministry) { return (React.createElement(antd.Select.Option, { value: ministry }, (ministry === "ScienceAndTechnology") ? "Science And Technology" : (ministry === "WaterResources") ? "Water Resources" : ministry)); }))),
|
6603
6603
|
React.createElement(antd.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: [
|
6604
|
-
{
|
6605
|
-
required: true,
|
6606
|
-
message: "Minister Name is required",
|
6607
|
-
},
|
6608
6604
|
{
|
6609
6605
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
6610
6606
|
return __generator(this, function (_a) {
|