@undp/carbon-library 1.0.179 → 1.0.180
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +5 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -26785,8 +26785,10 @@ var getValidNdcActions = function (programme) {
|
|
26785
26785
|
var verfiedAction = false;
|
26786
26786
|
if (action.projectMaterial) {
|
26787
26787
|
for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
|
26788
|
-
var
|
26789
|
-
|
26788
|
+
var documentDetails = _b[_i];
|
26789
|
+
var document_1 = void 0;
|
26790
|
+
documentDetails.url ? document_1 = documentDetails.url : document_1 = documentDetails;
|
26791
|
+
if (document_1.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
|
26790
26792
|
verfiedAction = true;
|
26791
26793
|
break;
|
26792
26794
|
}
|
@@ -27440,7 +27442,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
27440
27442
|
React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
27441
27443
|
};
|
27442
27444
|
|
27443
|
-
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items:
|
27445
|
+
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n align-items: center;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
|
27444
27446
|
styleInject(css_248z$2);
|
27445
27447
|
|
27446
27448
|
var NdcActionBody = function (props) {
|