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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -16222,6 +16222,12 @@ var InvestmentCreationComponent = function (props) {
16222
16222
  };
16223
16223
  var prevOne = function () {
16224
16224
  setCurrent(current - 1);
16225
+ if (stepOneData.period && Number.isInteger(stepOneData.period[0])) {
16226
+ stepOneData.period[0] = moment.unix(stepOneData.period[0]);
16227
+ }
16228
+ if (stepOneData.period && Number.isInteger(stepOneData.period[1])) {
16229
+ stepOneData.period[1] = moment.unix(stepOneData.period[1]);
16230
+ }
16225
16231
  setPrevInvestor(stepOneData.toCompanyId);
16226
16232
  // formTwo.resetFields();
16227
16233
  // setCurrentPercTotal(0);