@undp/carbon-library 1.0.289-CARBON-220.1 → 1.0.289-CARBON-178.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16894,9 +16894,7 @@ var InvestmentManagementComponent = function (props) {
16894
16894
  React.createElement("div", { className: "title-bar" },
16895
16895
  React.createElement("div", { className: "body-title" }, t("programme:investmentTitle")),
16896
16896
  React.createElement("div", { className: "body-sub-title" }, t("programme:investmentDesc"))),
16897
- React.createElement("div", { className: "actions" }, (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) !== Role.ViewOnly &&
16898
- (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== CompanyRole.CERTIFIER &&
16899
- enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16897
+ React.createElement("div", { className: "actions" }, enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16900
16898
  React.createElement(Button, { type: "primary", size: "large", block: true, icon: React.createElement(PlusOutlined, null), onClick: onClickAddOwnership }, t("programme:addOwnership")))))),
16901
16899
  React.createElement("div", { className: "content-card" },
16902
16900
  React.createElement(Row, null,