@undp/carbon-library 1.0.60 → 1.0.61
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +12 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +12 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -1236,12 +1236,22 @@ var AddNewCompanyComponent = function (props) {
|
|
1236
1236
|
companyRole === CompanyRole$1.CERTIFIER ? (React.createElement(SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
1237
1237
|
CompanyRole$1.PROGRAMME_DEVELOPER ? (React.createElement(ExperimentOutlined, { className: "role-icons" })) : companyRole === CompanyRole$1.MINISTRY ? (React.createElement(AuditOutlined, { className: "role-icons" })) : (React.createElement(BankOutlined, { className: "role-icons" })),
|
1238
1238
|
companyRole))) : (React.createElement(React.Fragment, null,
|
1239
|
-
React.createElement("div", { className: "certifier-radio-container"
|
1239
|
+
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
1240
|
+
CompanyRole$1.MINISTRY
|
1241
|
+
? {
|
1242
|
+
width: "45%",
|
1243
|
+
}
|
1244
|
+
: {} },
|
1240
1245
|
React.createElement(Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of programmes" },
|
1241
1246
|
React.createElement(Radio.Button, { className: "certifier", value: "Certifier" },
|
1242
1247
|
React.createElement(SafetyOutlined, { className: "role-icons" }),
|
1243
1248
|
"Certifier"))),
|
1244
|
-
React.createElement("div", { className: "dev-radio-container"
|
1249
|
+
React.createElement("div", { className: "dev-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
1250
|
+
CompanyRole$1.MINISTRY
|
1251
|
+
? {
|
1252
|
+
width: "45%",
|
1253
|
+
}
|
1254
|
+
: {} },
|
1245
1255
|
React.createElement(Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
|
1246
1256
|
React.createElement(Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
|
1247
1257
|
React.createElement(ExperimentOutlined, { className: "role-icons" }),
|