@undp/carbon-library 1.0.274-CARBON-419.3 → 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/cjs/index.js +4 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -6852,10 +6852,11 @@ var AddNewCompanyComponent = function (props) {
|
|
6852
6852
|
"Developer"))),
|
6853
6853
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
6854
6854
|
exports.CompanyRole.MINISTRY &&
|
6855
|
-
!isGuest && (React.createElement("div", { className: "minister-radio-container" },
|
6856
|
-
React.createElement(antd.
|
6855
|
+
!isGuest && (React.createElement("div", { className: "minister-radio-container" }, ministryDropdown.length > 0 ? (React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to perform all project-related actions within the Ministry" },
|
6856
|
+
React.createElement(antd.Radio.Button, { className: "minister", value: "Ministry" },
|
6857
6857
|
React.createElement(icons.AuditOutlined, { className: "role-icons" }),
|
6858
|
-
"Ministry")) : (React.createElement(antd.
|
6858
|
+
"Ministry"))) : (React.createElement(antd.Tooltip, { placement: "top", title: "All ministries have been implemented" },
|
6859
|
+
React.createElement(antd.Radio.Button, { className: "minister", value: "Ministry", disabled: true },
|
6859
6860
|
React.createElement(icons.AuditOutlined, { className: "role-icons" }),
|
6860
6861
|
"Ministry"))))))))),
|
6861
6862
|
(companyRole === exports.CompanyRole.MINISTRY ||
|