@undp/carbon-library 2.1.13-PAN-1.17 → 2.1.13-PAN-1.18

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -20579,7 +20579,7 @@ var NdcActionDetails = function (props) {
20579
20579
  var key_1 = getKeyFromValue(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sectoralScope);
20580
20580
  var valueSectoralScope = mitigationSubTypeList
20581
20581
  ? (mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; }))
20582
- ? (_a = mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; })) === null || _a === void 0 ? void 0 : _a.label
20582
+ ? (_a = mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; })) === null || _a === void 0 ? void 0 : _a.value
20583
20583
  : ""
20584
20584
  : "";
20585
20585
  setSubSector(valueSectoralScope);
package/dist/esm/index.js CHANGED
@@ -20558,7 +20558,7 @@ var NdcActionDetails = function (props) {
20558
20558
  var key_1 = getKeyFromValue(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sectoralScope);
20559
20559
  var valueSectoralScope = mitigationSubTypeList
20560
20560
  ? (mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; }))
20561
- ? (_a = mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; })) === null || _a === void 0 ? void 0 : _a.label
20561
+ ? (_a = mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.find(function (item) { return item.label === key_1; })) === null || _a === void 0 ? void 0 : _a.value
20562
20562
  : ""
20563
20563
  : "";
20564
20564
  setSubSector(valueSectoralScope);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "2.1.13-PAN-1.17",
3
+ "version": "2.1.13-PAN-1.18",
4
4
  "description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
5
5
  "type": "module",
6
6
  "scripts": {