@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/cjs/index.js CHANGED
@@ -16915,9 +16915,7 @@ var InvestmentManagementComponent = function (props) {
16915
16915
  React.createElement("div", { className: "title-bar" },
16916
16916
  React.createElement("div", { className: "body-title" }, t("programme:investmentTitle")),
16917
16917
  React.createElement("div", { className: "body-sub-title" }, t("programme:investmentDesc"))),
16918
- React.createElement("div", { className: "actions" }, (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) !== exports.Role.ViewOnly &&
16919
- (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !== exports.CompanyRole.CERTIFIER &&
16920
- enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16918
+ React.createElement("div", { className: "actions" }, enableAddOwnership && (React.createElement("div", { className: "action-bar" },
16921
16919
  React.createElement(antd.Button, { type: "primary", size: "large", block: true, icon: React.createElement(icons.PlusOutlined, null), onClick: onClickAddOwnership }, t("programme:addOwnership")))))),
16922
16920
  React.createElement("div", { className: "content-card" },
16923
16921
  React.createElement(antd.Row, null,