@undp/carbon-library 1.0.135-CARBON-343.13 → 1.0.135-CARBON-343.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +5 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -23697,11 +23697,12 @@ var NdcDetailsComponent = function (props) {
|
|
23697
23697
|
}); } });
|
23698
23698
|
});
|
23699
23699
|
function onAddNewNdcDetail() {
|
23700
|
+
var range = selectedTab.split("-");
|
23700
23701
|
var newData = {
|
23701
|
-
startDate: new Date("
|
23702
|
-
endDate: new Date("
|
23703
|
-
nationalPlanObj: "
|
23704
|
-
kpi:
|
23702
|
+
startDate: new Date("".concat(Number(range[0]), "-01-24 23:12:00")),
|
23703
|
+
endDate: new Date("".concat(Number(range[0]), "-12-24 23:12:00")),
|
23704
|
+
nationalPlanObj: t("ndc:enterNewPlanTxt"),
|
23705
|
+
kpi: 0,
|
23705
23706
|
};
|
23706
23707
|
setNdcDetailsData(__spreadArray(__spreadArray([], ndcDetailsData, true), [newData], false));
|
23707
23708
|
}
|