@undp/carbon-library 1.0.171-CARBON-329.0 → 1.0.171-CARBON-329.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -25346,11 +25346,12 @@ var getValidNdcActions = function (programme) {
25346
25346
  var _a;
25347
25347
  var actionCreditsArray = [];
25348
25348
  (_a = programme.mitigationActions) === null || _a === void 0 ? void 0 : _a.map(function (action) {
25349
+ var _a;
25349
25350
  var verfiedAction = false;
25350
25351
  if (action.projectMaterial) {
25351
- for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
25352
- var document = _a[_i];
25353
- if (document.includes("VERIFICATION_REPORT")) {
25352
+ for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
25353
+ var document = _b[_i];
25354
+ if (document.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
25354
25355
  verfiedAction = true;
25355
25356
  break;
25356
25357
  }