@undp/carbon-library 1.0.175-CARBON-347.10 → 1.0.175-CARBON-347.11

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16439,7 +16439,7 @@ var InvestmentCreationComponent = function (props) {
16439
16439
  React.createElement(Row, { className: "row", gutter: [16, 16] },
16440
16440
  React.createElement(Col, { xl: 12, md: 24 },
16441
16441
  React.createElement("div", { className: "details-part-one" },
16442
- React.createElement(Form.Item, { label: t("programme:title"), name: "projectId", wrapperCol: { span: 24 }, initialValue: allProjectData.length == 1
16442
+ React.createElement(Form.Item, { label: t("programme:title"), name: "projectId", wrapperCol: { span: 24 }, initialValue: (data === null || data === void 0 ? void 0 : data.programmeId) != undefined
16443
16443
  ? allProjectData[0].programmeId
16444
16444
  : null, rules: [
16445
16445
  {