@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/esm/index.js CHANGED
@@ -25326,11 +25326,12 @@ var getValidNdcActions = function (programme) {
25326
25326
  var _a;
25327
25327
  var actionCreditsArray = [];
25328
25328
  (_a = programme.mitigationActions) === null || _a === void 0 ? void 0 : _a.map(function (action) {
25329
+ var _a;
25329
25330
  var verfiedAction = false;
25330
25331
  if (action.projectMaterial) {
25331
- for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
25332
- var document = _a[_i];
25333
- if (document.includes("VERIFICATION_REPORT")) {
25332
+ for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
25333
+ var document = _b[_i];
25334
+ if (document.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
25334
25335
  verfiedAction = true;
25335
25336
  break;
25336
25337
  }