@undp/carbon-library 1.0.174-CARBON-329.0 → 1.0.174-CARBON-336.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -26780,12 +26780,11 @@ var getValidNdcActions = function (programme) {
26780
26780
  var _a;
26781
26781
  var actionCreditsArray = [];
26782
26782
  (_a = programme.mitigationActions) === null || _a === void 0 ? void 0 : _a.map(function (action) {
26783
- var _a;
26784
26783
  var verfiedAction = false;
26785
26784
  if (action.projectMaterial) {
26786
- for (var _i = 0, _b = action.projectMaterial; _i < _b.length; _i++) {
26787
- var document = _b[_i];
26788
- if (document.includes("VERIFICATION_REPORT") && ((_a = action.properties) === null || _a === void 0 ? void 0 : _a.availableCredits)) {
26785
+ for (var _i = 0, _a = action.projectMaterial; _i < _a.length; _i++) {
26786
+ var document = _a[_i];
26787
+ if (document.includes("VERIFICATION_REPORT")) {
26789
26788
  verfiedAction = true;
26790
26789
  break;
26791
26790
  }