@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/cjs/index.js
CHANGED
@@ -1256,12 +1256,22 @@ var AddNewCompanyComponent = function (props) {
|
|
1256
1256
|
companyRole === exports.CompanyRole.CERTIFIER ? (React.createElement(icons.SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
1257
1257
|
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(icons.ExperimentOutlined, { className: "role-icons" })) : companyRole === exports.CompanyRole.MINISTRY ? (React.createElement(icons.AuditOutlined, { className: "role-icons" })) : (React.createElement(icons.BankOutlined, { className: "role-icons" })),
|
1258
1258
|
companyRole))) : (React.createElement(React.Fragment, null,
|
1259
|
-
React.createElement("div", { className: "certifier-radio-container"
|
1259
|
+
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
1260
|
+
exports.CompanyRole.MINISTRY
|
1261
|
+
? {
|
1262
|
+
width: "45%",
|
1263
|
+
}
|
1264
|
+
: {} },
|
1260
1265
|
React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to certify and revoke certifications of programmes" },
|
1261
1266
|
React.createElement(antd.Radio.Button, { className: "certifier", value: "Certifier" },
|
1262
1267
|
React.createElement(icons.SafetyOutlined, { className: "role-icons" }),
|
1263
1268
|
"Certifier"))),
|
1264
|
-
React.createElement("div", { className: "dev-radio-container"
|
1269
|
+
React.createElement("div", { className: "dev-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
1270
|
+
exports.CompanyRole.MINISTRY
|
1271
|
+
? {
|
1272
|
+
width: "45%",
|
1273
|
+
}
|
1274
|
+
: {} },
|
1265
1275
|
React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
|
1266
1276
|
React.createElement(antd.Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
|
1267
1277
|
React.createElement(icons.ExperimentOutlined, { className: "role-icons" }),
|