@undp/carbon-library 1.0.298-CARBON-428-hotfix.0 → 1.0.298-CARBON-428-hotfix.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16201,6 +16201,12 @@ var InvestmentCreationComponent = function (props) {
16201
16201
  };
16202
16202
  var prevOne = function () {
16203
16203
  setCurrent(current - 1);
16204
+ if (stepOneData.period && Number.isInteger(stepOneData.period[0])) {
16205
+ stepOneData.period[0] = moment.unix(stepOneData.period[0]);
16206
+ }
16207
+ if (stepOneData.period && Number.isInteger(stepOneData.period[1])) {
16208
+ stepOneData.period[1] = moment.unix(stepOneData.period[1]);
16209
+ }
16204
16210
  setPrevInvestor(stepOneData.toCompanyId);
16205
16211
  // formTwo.resetFields();
16206
16212
  // setCurrentPercTotal(0);