@undp/carbon-library 1.0.274-CARBON-419.4 → 1.0.274-CARBON-419.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -6832,10 +6832,11 @@ var AddNewCompanyComponent = function (props) {
6832
6832
  "Developer"))),
6833
6833
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
6834
6834
  CompanyRole.MINISTRY &&
6835
- !isGuest && (React.createElement("div", { className: "minister-radio-container" },
6836
- React.createElement(Tooltip, { placement: "top", title: "Permitted to perform all project-related actions within the Ministry" }, ministryDropdown.length > 0 ? (React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
6835
+ !isGuest && (React.createElement("div", { className: "minister-radio-container" }, ministryDropdown.length > 0 ? (React.createElement(Tooltip, { placement: "top", title: "Permitted to perform all project-related actions within the Ministry" },
6836
+ React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
6837
6837
  React.createElement(AuditOutlined, { className: "role-icons" }),
6838
- "Ministry")) : (React.createElement(Radio.Button, { className: "minister", value: "Ministry", disabled: true },
6838
+ "Ministry"))) : (React.createElement(Tooltip, { placement: "top", title: "All ministries have been implemented" },
6839
+ React.createElement(Radio.Button, { className: "minister", value: "Ministry", disabled: true },
6839
6840
  React.createElement(AuditOutlined, { className: "role-icons" }),
6840
6841
  "Ministry"))))))))),
6841
6842
  (companyRole === CompanyRole.MINISTRY ||