@undp/carbon-library 1.0.174-CARBON-336.0 → 1.0.174-CARBON-329.0
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
@@ -26800,11 +26800,12 @@ var getValidNdcActions = function (programme) {
|
|
26800
26800
|
var _a;
|
26801
26801
|
var actionCreditsArray = [];
|
26802
26802
|
(_a = programme.mitigationActions) === null || _a === void 0 ? void 0 : _a.map(function (action) {
|
26803
|
+
var _a;
|
26803
26804
|
var verfiedAction = false;
|
26804
26805
|
if (action.projectMaterial) {
|
26805
|
-
for (var _i = 0,
|
26806
|
-
var document =
|
26807
|
-
if (document.includes("VERIFICATION_REPORT")) {
|
26806
|
+
for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
|
26807
|
+
var document = _b[_i];
|
26808
|
+
if (document.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
|
26808
26809
|
verfiedAction = true;
|
26809
26810
|
break;
|
26810
26811
|
}
|