@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/esm/index.js
CHANGED
@@ -23677,11 +23677,12 @@ var NdcDetailsComponent = function (props) {
|
|
23677
23677
|
}); } });
|
23678
23678
|
});
|
23679
23679
|
function onAddNewNdcDetail() {
|
23680
|
+
var range = selectedTab.split("-");
|
23680
23681
|
var newData = {
|
23681
|
-
startDate: new Date("
|
23682
|
-
endDate: new Date("
|
23683
|
-
nationalPlanObj: "
|
23684
|
-
kpi:
|
23682
|
+
startDate: new Date("".concat(Number(range[0]), "-01-24 23:12:00")),
|
23683
|
+
endDate: new Date("".concat(Number(range[0]), "-12-24 23:12:00")),
|
23684
|
+
nationalPlanObj: t("ndc:enterNewPlanTxt"),
|
23685
|
+
kpi: 0,
|
23685
23686
|
};
|
23686
23687
|
setNdcDetailsData(__spreadArray(__spreadArray([], ndcDetailsData, true), [newData], false));
|
23687
23688
|
}
|