@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/cjs/index.js CHANGED
@@ -16459,7 +16459,7 @@ var InvestmentCreationComponent = function (props) {
16459
16459
  React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
16460
16460
  React.createElement(antd.Col, { xl: 12, md: 24 },
16461
16461
  React.createElement("div", { className: "details-part-one" },
16462
- React.createElement(antd.Form.Item, { label: t("programme:title"), name: "projectId", wrapperCol: { span: 24 }, initialValue: allProjectData.length == 1
16462
+ React.createElement(antd.Form.Item, { label: t("programme:title"), name: "projectId", wrapperCol: { span: 24 }, initialValue: (data === null || data === void 0 ? void 0 : data.programmeId) != undefined
16463
16463
  ? allProjectData[0].programmeId
16464
16464
  : null, rules: [
16465
16465
  {